forked from extern/zfs-auto-snapshot
Merge pull request #109 from mergwyn/master
Correct incorrect sh syntax
This commit is contained in:
commit
92db087bb0
@ -224,7 +224,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
|
|||||||
# main ()
|
# main ()
|
||||||
# {
|
# {
|
||||||
|
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
GETOPT_BIN="$(brew --prefix gnu-getopt 2> /dev/null || echo /usr/local)/bin/getopt"
|
GETOPT_BIN="$(brew --prefix gnu-getopt 2> /dev/null || echo /usr/local)/bin/getopt"
|
||||||
else
|
else
|
||||||
GETOPT_BIN="getopt"
|
GETOPT_BIN="getopt"
|
||||||
|
Loading…
Reference in New Issue
Block a user