From 4fd4a61ad5386e6b4db12794531da4d9c8763546 Mon Sep 17 00:00:00 2001 From: Dave Kennedy Date: Tue, 26 Jan 2016 16:16:58 -0700 Subject: [PATCH] Only one of these checks is necessary --- mkstage4.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mkstage4.sh b/mkstage4.sh index c05e494..6b37ef5 100755 --- a/mkstage4.sh +++ b/mkstage4.sh @@ -66,8 +66,7 @@ then fi # determines if filename was given with relative or absolute path -if [ "`echo $ARCHIVE | grep -c '\/'`" -gt "0" ] && \ -[ "`echo $ARCHIVE | grep -c '^\/'`" -gt "0" ] +if [ "`echo $ARCHIVE | grep -c '^\/'`" -gt "0" ] then STAGE4_FILENAME="${ARCHIVE}.tar.bz2" else