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:
parent
c1819495dd
commit
5da1e1e1c7
4
sync.sh
4
sync.sh
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user