Commit problematic check for review

This commit is contained in:
Eric Renfro 2024-08-03 14:28:12 -04:00
parent ade1758e22
commit f24aeabdd9
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

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