mirror of https://github.com/mindoc-org/mindoc.git
Merge branch 'mindoc-org:master' into master
commit
5cc4e14fc8
|
@ -15,7 +15,10 @@ export HOST_DIR=/mindoc-sync-host
|
||||||
export DOCKER_DIR=/mindoc
|
export DOCKER_DIR=/mindoc
|
||||||
|
|
||||||
function doSyncCopy() {
|
function doSyncCopy() {
|
||||||
rclone $SYNC_ACTION --progress --exclude .git* --exclude .git/** "${1}" "${2}"
|
if [ -d "${1}" ]
|
||||||
|
then
|
||||||
|
rclone $SYNC_ACTION --progress --exclude .git* --exclude .git/** "${1}" "${2}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function doSync() {
|
function doSync() {
|
||||||
|
|
Loading…
Reference in New Issue