From f24aeabdd9b36cb542faf1ff6111d255d5178515 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sat, 3 Aug 2024 14:28:12 -0400 Subject: [PATCH] Commit problematic check for review --- exstage4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exstage4.sh b/exstage4.sh index ddef088..504a02b 100755 --- a/exstage4.sh +++ b/exstage4.sh @@ -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