Fixed tmp folder issue

This commit is contained in:
Llewellyn van der Merwe 2018-07-05 23:43:04 +02:00
parent be01e19c56
commit 000fff2528
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
2 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ Clone Repository
$ git clone https://github.com/vdm-io/Backup-System.git Backup-System $ 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 ```bash
$ cd Backup-System/ $ cd Backup-System/

10
run.sh
View File

@ -50,12 +50,12 @@ BASEDIR="$PWD"
# get random folder name to avoid conflict # get random folder name to avoid conflict
newFolder=$(getRandom) newFolder=$(getRandom)
# set this repo location # set this repo location
tmpFolder="$USERHOME/T3MPR3P0_$newFolder" tmpFolder="${USERHOME}T3MPR3P0_${newFolder}"
# create tmp folder # create tmp folder
#if [ ! -d "$tmpFolder" ] if [ ! -d "$tmpFolder" ]
#then then
# mkdir -p "$tmpFolder" mkdir -p "$tmpFolder"
#fi fi
# DB file # DB file
databasesFileName="databases" databasesFileName="databases"