Permalink
Browse files

notify user if upx is missing

  • Loading branch information...
jonleighton committed Jul 7, 2012
1 parent 9656a99 commit 2a2155a4e1f5873aa8624859cead9d66750747f4
Showing with 6 additions and 2 deletions.
  1. +6 −2 deploy/package.sh
View
@@ -96,8 +96,12 @@ echo
if [[ $OSTYPE == darwin* ]]; then
echo -n "compressing binary..."
- [ ! -z upx ] && upx -qqq -9 $phantomjs
- echo "done"
+ if [[ ! -z upx ]]; then
+ upx -qqq -9 $phantomjs
+ echo "done"
+ else
+ echo "upx not found"
+ fi
echo
fi

0 comments on commit 2a2155a

Please sign in to comment.