From d95bcd4f35eeec546b1f2d0bec46a6e50e706830 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Tue, 16 May 2023 20:43:21 +0200 Subject: Squash SC2086 for exports 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 --- lifeboat | 8 ++++---- 1 file 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;; -- cgit v1.2.3-2-gb3c3