Skip to content

Commit

Permalink
Fix install fail on missing prerequisite
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Feb 28, 2015
1 parent 7a6b8ce commit dc5af36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions misc/tools/install.sh
Expand Up @@ -95,8 +95,7 @@ echo -n "checking prerequisites:"

deps=( php mysql awk sed grep wget mktemp mkdir git )
for binary in "${deps[@]}"; do
binpath="$(which $binary)"
if [ -n "$binpath" ]; then
if binpath="$(which $binary)" ; then
echo " $binary: $binpath"
else
echo
Expand Down

0 comments on commit dc5af36

Please sign in to comment.