about summary refs log tree commit diff stats
path: root/core
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-12-10 14:28:54 +0000
committerSilvino Silva <silvino@bk.ru>2018-12-10 14:28:54 +0000
commita4f712e1969ad4c479ea4c1efc38b9c92d748ad8 (patch)
tree7c6304903c8c916544cf8aa4b9b7ea426a1d4044 /core
parent88bd69c5b7456221e4260b74c2783a660084aaa4 (diff)
downloaddoc-a4f712e1969ad4c479ea4c1efc38b9c92d748ad8.tar.gz
fix core backup-system script
Diffstat (limited to 'core')
-rw-r--r--core/scripts/backup-system.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/scripts/backup-system.sh b/core/scripts/backup-system.sh
index c28c706..7faf676 100644
--- a/core/scripts/backup-system.sh
+++ b/core/scripts/backup-system.sh
@@ -265,5 +265,5 @@ do
 done
 
 RELEASE_NAME=$(basename ${DEST_DIR})
-tar -zcpf  ${RELEASE_NAME}.tar.gz ${RELEASE_NAME}/
+cd $(dirname ${DEST_DIR}) && tar -zcpf  ${RELEASE_NAME}.tar.gz ${RELEASE_NAME}/
 rm -rf ${DEST_DIR}