From 3cbbb77fd201b19b99a31d35b7be7b91e9b3dd36 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 29 Mar 2024 11:30:11 +0100 Subject: [PATCH] scripts/rsync-generation/update-rsync-master: disable shellcheck fps Disable false positives, unfortunately including the most helpful check SC2086. Signed-off-by: Fabian Groffen --- scripts/rsync-generation/update-rsync-master.sh | 3 +++ 1 file changed, 3 insertions(+) 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)