forked from extern/zfs-auto-snapshot
Correct incorrect sh syntax
'==' is not valid in sh
This commit is contained in:
parent
4538217932
commit
f938d9cc1c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user