aboutsummaryrefslogtreecommitdiff
path: root/content/resources/backup
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2023-01-19 15:55:18 +0100
committerSébastien Dailly <sebastien@dailly.me>2023-01-19 15:55:18 +0100
commit3b3c4db1bdd29b46a23051fc5427197ce2831764 (patch)
tree8786551b638af11724980f9d522c9b30b19bd226 /content/resources/backup
parentc2391721fd415e880d48c14f123d95d0d426a56f (diff)
Backup script : made it more generic
Diffstat (limited to 'content/resources/backup')
-rwxr-xr-xcontent/resources/backup/gen_config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/resources/backup/gen_config.sh b/content/resources/backup/gen_config.sh
index 8091bed..225df99 100755
--- a/content/resources/backup/gen_config.sh
+++ b/content/resources/backup/gen_config.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-. ./$1
+. $(dirname $1)/./$(basename $1)
OUTFILE=$2
BACKUP_NAME=$3