Skip to content

Commit

Permalink
short explanation: bootstrap script broken
Browse files Browse the repository at this point in the history
know-it-all explanation:
  The test command [ needs a trailing space to be recognized.
  In #!/bin/sh environment, '=' has to be used with the test command.
  ] needs a leading space to be recognized as the last argument of the test command.
  • Loading branch information
mafulafunk committed Nov 26, 2012
1 parent e4bb118 commit c892e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/bootstrap
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# bootstrap installs things. # bootstrap installs things.


# Assume everyone's on OS X and run Homebrew (*nix-ers beware) # Assume everyone's on OS X and run Homebrew (*nix-ers beware)
if [$(uname -s) == "Darwin"] if [ $(uname -s) = "Darwin" ]
then then
. script/homebrew . script/homebrew
fi fi
Expand Down

0 comments on commit c892e0e

Please sign in to comment.