Skip to content

Commit 602f522

Browse files
committed
Merge pull request #3 from rexim/unary-operator-error
Fix shell syntax error when emacs-snapshot not found
2 parents 2912b74 + e07d2d0 commit 602f522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-travis-ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22

3-
if [ `uname` = "Darwin" ]; then
3+
if [ "$(uname)" = "Darwin" ]; then
44
# for local testing only
55
EMACS="/Applications/Emacs.app/Contents/MacOS/Emacs"
6-
elif [ `which emacs-snapshot` != "" ]; then
6+
elif [ "$(which emacs-snapshot)" != "" ]; then
77
EMACS="$(which emacs-snapshot)"
88
else
99
EMACS="$(which emacs)"

0 commit comments

Comments
 (0)