enforce default action

This commit is contained in:
Isaac Connor 2021-10-19 14:34:17 -04:00
parent 6245a4df6a
commit 501aa3fa4a
1 changed files with 5 additions and 6 deletions

View File

@ -232,8 +232,7 @@ cd ../
if [ ! -e "$DIRECTORY.orig.tar.gz" ]; then if [ ! -e "$DIRECTORY.orig.tar.gz" ]; then
read -p "$DIRECTORY.orig.tar.gz does not exist, create it? [Y/n]" read -p "$DIRECTORY.orig.tar.gz does not exist, create it? [Y/n]"
if [[ $REPLY == [yY] ]]; then if [[ "$REPLY" == "" || "$REPLY" == [yY] ]]; then
tar zcf $DIRECTORY.orig.tar.gz $DIRECTORY.orig tar zcf $DIRECTORY.orig.tar.gz $DIRECTORY.orig
fi; fi;
fi; fi;