diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-31 09:57:14 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-31 09:57:14 +0200 |
commit | 7824725e782d7a188a7c226756f916bcbb06cd06 (patch) | |
tree | 9cb65af37e84cb4ada484c9d905ac61d44285ddc /nginx.sh | |
parent | 4ca4cb3419b92237f2cc88a6ca87c4ef8511b046 (diff) |
nginx.sh
Diffstat (limited to 'nginx.sh')
-rwxr-xr-x | nginx.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,7 +38,8 @@ else fi if ! $NGINX_DONE; then - if ! $PIN --auto-download --auto --prefix=$NGINX_DEST >>$LOG 2>&1; then + CMD="$PIN --auto-download --auto --prefix=$NGINX_DEST" + if ! eval "$CMD" >>$LOG 2>&1; then printf "%25s%15s\n" "'Install'" "FAIL" exit 1 fi |