mirror of
https://github.com/namibia/demo-sync.git
synced 2024-11-24 20:27:33 +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)" )
|
||||
SCRIPTURL="${REPOURL}$ACTION.sh"
|
||||
HOMEPATH=~/
|
||||
NAME=".${ACTION}_${OWNER}"
|
||||
BASENAME=".${ACTION}_${OWNER}"
|
||||
# set paths
|
||||
BASEPATH="${HOMEPATH}/${NAME}"
|
||||
BASEPATH="${HOMEPATH}/${BASENAME}"
|
||||
FOLDERPATH="${BASEPATH}_folders"
|
||||
DBPATH="${BASEPATH}_dbs"
|
||||
CRONPATH="${BASEPATH}.cron"
|
||||
|
Loading…
Reference in New Issue
Block a user