From dba282cd5658a3ffc5c758b4617861e97f591eea Mon Sep 17 00:00:00 2001 From: mxmehl Date: Fri, 26 Feb 2016 02:20:41 +0100 Subject: [PATCH] update --- split-dl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/split-dl.sh b/split-dl.sh index ac68169..cd147b6 100755 --- a/split-dl.sh +++ b/split-dl.sh @@ -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