Merge pull request #109 from mergwyn/master

Correct incorrect sh syntax
This commit is contained in:
Jonathan Carter 2019-09-30 09:30:55 +02:00 committed by GitHub
commit 92db087bb0
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"