summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-03-29 11:30:11 +0100
committerFabian Groffen <grobian@gentoo.org>2024-03-29 11:30:11 +0100
commit3cbbb77fd201b19b99a31d35b7be7b91e9b3dd36 (patch)
treeaca76a6f15cfa20c5b93203052250871cb5080db
parentscripts/rsync-generation/mksnapshot: shellcheck (diff)
downloadprefix-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-xscripts/rsync-generation/update-rsync-master.sh3
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)