mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 02:38:57 -05:00
Only one of these checks is necessary
This commit is contained in:
parent
c3b036fbd2
commit
4fd4a61ad5
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue