diff --git a/README.md b/README.md index 96e8e2b..7b173b7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Clone Repository $ git clone https://github.com/vdm-io/Backup-System.git Backup-System ``` -Make sure all the run file is executable +Make sure the run file is executable ```bash $ cd Backup-System/ diff --git a/run.sh b/run.sh index 37482b5..7c13b5d 100755 --- a/run.sh +++ b/run.sh @@ -50,12 +50,12 @@ BASEDIR="$PWD" # get random folder name to avoid conflict newFolder=$(getRandom) # set this repo location -tmpFolder="$USERHOME/T3MPR3P0_$newFolder" +tmpFolder="${USERHOME}T3MPR3P0_${newFolder}" # create tmp folder -#if [ ! -d "$tmpFolder" ] -#then -# mkdir -p "$tmpFolder" -#fi +if [ ! -d "$tmpFolder" ] +then + mkdir -p "$tmpFolder" +fi # DB file databasesFileName="databases"