From 5bbb7e1c1fe86de674052a96f3831bae262dfe56 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Sun, 27 Aug 2017 15:52:34 +0200 Subject: [PATCH] Fix backup script --- backup/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/backup.sh b/backup/backup.sh index 5a4f820..a5e848c 100755 --- a/backup/backup.sh +++ b/backup/backup.sh @@ -20,7 +20,7 @@ if [ -z "$1" ] then DATE=$(date '+%Y-%m-%d') mkdir -p ${DATE}/resource - cp -R ../api/resource ${DATE} + cp -R ../api/resource/ ${DATE}/ else DATE=${1} tar -xzf ${DATE}.tar.gz