aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-18 15:58:46 -0300
committerEuAndreh <eu@euandre.org>2022-01-18 15:58:46 -0300
commitd269591af2ae9451469759ff72110bb004c97ad6 (patch)
tree36ffef79580c94a2d91da47b360593a72a2bbf0c
parentMakefile: Enforce no missing translations in repocheck.sh call (diff)
downloadgit-permalink-d269591af2ae9451469759ff72110bb004c97ad6.tar.gz
git-permalink-d269591af2ae9451469759ff72110bb004c97ad6.tar.xz
src/git-permalink.in: Add ShellCheck allow-list markers
-rwxr-xr-xsrc/git-permalink.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/git-permalink.in b/src/git-permalink.in
index a8e6477..bb7a09e 100755
--- a/src/git-permalink.in
+++ b/src/git-permalink.in
@@ -63,6 +63,7 @@ dump_translatable_strings() {
EOF
for msg in $MSGS; do
+ # shellcheck disable=2016
printf 'MSG_%s="$(cat @LOCALEDIR@/@LANG@/LC_MESSAGES/@NAME@/%s.@LANG@.txt)"\n' \
"$msg" "$msg"
done
@@ -75,6 +76,7 @@ fi
if [ -r '@LIBEXECDIR@/@NAME@/load-messages.sh' ]; then
+ # shellcheck disable=1091
. '@LIBEXECDIR@/@NAME@/load-messages.sh'
fi