Only one of these checks is necessary

This commit is contained in:
Dave Kennedy 2016-01-26 16:16:58 -07:00
parent c3b036fbd2
commit 4fd4a61ad5

View file

@ -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