diff options
author | Silvino Silva <silvino@bk.ru> | 2018-12-10 14:28:54 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-12-10 14:28:54 +0000 |
commit | a4f712e1969ad4c479ea4c1efc38b9c92d748ad8 (patch) | |
tree | 7c6304903c8c916544cf8aa4b9b7ea426a1d4044 /core | |
parent | 88bd69c5b7456221e4260b74c2783a660084aaa4 (diff) | |
download | doc-a4f712e1969ad4c479ea4c1efc38b9c92d748ad8.tar.gz |
fix core backup-system script
Diffstat (limited to 'core')
-rw-r--r-- | core/scripts/backup-system.sh | 2 |
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} |