summaryrefslogtreecommitdiff
path: root/nginx.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-31 09:57:14 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-31 09:57:14 +0200
commit7824725e782d7a188a7c226756f916bcbb06cd06 (patch)
tree9cb65af37e84cb4ada484c9d905ac61d44285ddc /nginx.sh
parent4ca4cb3419b92237f2cc88a6ca87c4ef8511b046 (diff)
nginx.sh
Diffstat (limited to 'nginx.sh')
-rwxr-xr-xnginx.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nginx.sh b/nginx.sh
index 4b48ba9..2fdeda8 100755
--- a/nginx.sh
+++ b/nginx.sh
@@ -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