diff options
author | Fabian Groffen <grobian@gentoo.org> | 2024-03-29 11:30:11 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2024-03-29 11:30:11 +0100 |
commit | 3cbbb77fd201b19b99a31d35b7be7b91e9b3dd36 (patch) | |
tree | aca76a6f15cfa20c5b93203052250871cb5080db | |
parent | scripts/rsync-generation/mksnapshot: shellcheck (diff) | |
download | prefix-3cbbb77fd201b19b99a31d35b7be7b91e9b3dd36.tar.gz prefix-3cbbb77fd201b19b99a31d35b7be7b91e9b3dd36.tar.bz2 prefix-3cbbb77fd201b19b99a31d35b7be7b91e9b3dd36.zip |
scripts/rsync-generation/update-rsync-master: disable shellcheck fps
Disable false positives, unfortunately including the most helpful check
SC2086.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-x | scripts/rsync-generation/update-rsync-master.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/rsync-generation/update-rsync-master.sh b/scripts/rsync-generation/update-rsync-master.sh index 304877ac95..b169a4a3f2 100755 --- a/scripts/rsync-generation/update-rsync-master.sh +++ b/scripts/rsync-generation/update-rsync-master.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +#shellcheck disable=SC2016,SC2086 +#SC2016: expressions don't expand in single quotes -> purposely in sed +#SC2086: double quote to prevent word splitting -> exactly what we need w/ set SCRIPTSTARTTIME=$(date +%s) |