From b9a53a4afb9c8fe649a9e2bc3da9340fda4e83e5 Mon Sep 17 00:00:00 2001 From: Paul Liverman Date: Mon, 29 Dec 2014 21:33:50 -0800 Subject: [PATCH] output fix on zip/unzip checking --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build b/build index 97443fa..0f9f6c8 100644 --- a/build +++ b/build @@ -31,11 +31,11 @@ fi # check that zip and unzip are accessible # not sure if this is the best way to do this or not -if ! which zip; then +if ! which zip > /dev/null 2>&1; then echo "zip not installed" exit 2; fi -if ! which unzip; then +if ! which unzip > /dev/null 2>&1; then echo "unzip not installed" exit 3; fi