Correct incorrect sh syntax

'==' is not valid in sh
This commit is contained in:
mergwyn 2019-09-25 23:13:21 +01:00 committed by GitHub
parent 4538217932
commit f938d9cc1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
# main ()
# {
if [ "$(uname)" == "Darwin" ]; then
if [ "$(uname)" = "Darwin" ]; then
GETOPT_BIN="$(brew --prefix gnu-getopt 2> /dev/null || echo /usr/local)/bin/getopt"
else
GETOPT_BIN="getopt"