This commit is contained in:
2016-02-26 02:20:41 +01:00
parent 0ebde2b80d
commit dba282cd56

View File

@@ -154,7 +154,7 @@ function checkfolder {
# Check if folder already exists. If not, create it
if [ -d $FOLDER ]; then
read -p "Destination folder \"$FOLDER\" already exists. Should it be emptied? [y/N]: " YN
if [ $YN == "y" ]; then
if [ "$YN" == "y" ]; then
rm -rf $FOLDER
mkdir $FOLDER
else