mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-21 22:25:35 -05:00
Commit problematic check for review
This commit is contained in:
parent
ade1758e22
commit
f24aeabdd9
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ fi
|
|||
|
||||
archiveExt="${archiveFile##*.}"
|
||||
|
||||
if [[ "${archiveFile%%.$archiveExt}" =~ *.\.tar ]]; then
|
||||
if [[ "${archiveFile%%.$archiveExt}" = *.tar ]]; then
|
||||
echo "The stage file you are trying to unpack (\`$archiveFile\`) does not appear to be an archived TAR file"
|
||||
echo "${archiveFile%%.$archiveExt}"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue