1
0
mirror of https://github.com/namibia/demo-sync.git synced 2024-11-22 03:25:09 +00:00

change the name to basename

This commit is contained in:
Llewellyn van der Merwe 2020-03-06 15:45:12 +02:00
parent c1819495dd
commit 5da1e1e1c7
No known key found for this signature in database
GPG Key ID: 8A8F406BA7238C4E

View File

@ -32,9 +32,9 @@ REPOURL="https://raw.githubusercontent.com/${OWNER}/${REPONAME}/master/"
Datetimenow=$(TZ=":ZULU" date +"%m/%d/%Y @ %R (UTC)" ) Datetimenow=$(TZ=":ZULU" date +"%m/%d/%Y @ %R (UTC)" )
SCRIPTURL="${REPOURL}$ACTION.sh" SCRIPTURL="${REPOURL}$ACTION.sh"
HOMEPATH=~/ HOMEPATH=~/
NAME=".${ACTION}_${OWNER}" BASENAME=".${ACTION}_${OWNER}"
# set paths # set paths
BASEPATH="${HOMEPATH}/${NAME}" BASEPATH="${HOMEPATH}/${BASENAME}"
FOLDERPATH="${BASEPATH}_folders" FOLDERPATH="${BASEPATH}_folders"
DBPATH="${BASEPATH}_dbs" DBPATH="${BASEPATH}_dbs"
CRONPATH="${BASEPATH}.cron" CRONPATH="${BASEPATH}.cron"