aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2023-05-16 20:43:21 +0200
committerWolfgang Müller2023-05-16 20:43:21 +0200
commitd95bcd4f35eeec546b1f2d0bec46a6e50e706830 (patch)
tree879768acbed4ef431a81fa706fb72abe204fca72
parent12ed26d1352c9b9278bb858c4e2b44021c5d8c70 (diff)
downloadlifeboat-master.tar.gz (sig)
Squash SC2086 for exportsHEAD0.4.2master
Technically the quotes here should not be needed, but shellcheck still emits an error for them (see [1]). Quoting doesn't hurt here, so just do that. [1] https://github.com/koalaman/shellcheck/issues/2443
-rwxr-xr-xlifeboat8
1 files changed, 4 insertions, 4 deletions
diff --git a/lifeboat b/lifeboat
index bb8284b..0ddd27f 100755
--- a/lifeboat
+++ b/lifeboat
@@ -84,10 +84,10 @@ shift
test -d "$LIFEBOAT_ROOT/$repo" || errx "$repo: no such repository"
-export PATH=$HOME/bin:$PATH
-export LIFEBOAT_REPO_NAME=$repo
-export RESTIC_REPOSITORY=$LIFEBOAT_ROOT/$repo/repo
-export RESTIC_PASSWORD_FILE=$LIFEBOAT_ROOT/$repo/credentials/restic
+export PATH="$HOME/bin:$PATH"
+export LIFEBOAT_REPO_NAME="$repo"
+export RESTIC_REPOSITORY="$LIFEBOAT_ROOT/$repo/repo"
+export RESTIC_PASSWORD_FILE="$LIFEBOAT_ROOT/$repo/credentials/restic"
case "$1" in
run) run_backup;;