From f85c3ac42f825f8f939d568c89215ec579baae51 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 29 Sep 2000 16:19:15 +0000 Subject: [PATCH] fix error detection --- tools/zpak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/zpak b/tools/zpak index 8851810..0304304 100755 --- a/tools/zpak +++ b/tools/zpak @@ -6,7 +6,7 @@ if [ $# -eq 0 ]; then fi for pakfile in $*; do - [ -f ${pakfile} ] || echo ${pakfile} not found && continue + if [ ! -f ${pakfile} ]; then echo ${pakfile} not found; continue; fi [ "${pakfile#/}" = "${pakfile}" ] && pakfile=`pwd`/${pakfile} tmp=/var/tmp/zpak.$$