aboutsummaryrefslogtreecommitdiff
path: root/bin/check_links
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-11-15 10:44:06 -0500
committerNick Mathewson <nickm@torproject.org>2023-11-15 10:44:06 -0500
commita0d3004859f918d9d542a0526aa76252e1648c66 (patch)
tree84f954c77d9c95c7600ce36293a4d9231bc00479 /bin/check_links
parent08f943c32dbb8b35f57f1b11d5ae2b8004627ae5 (diff)
downloadtorspec-a0d3004859f918d9d542a0526aa76252e1648c66.tar.gz
torspec-a0d3004859f918d9d542a0526aa76252e1648c66.zip
Fix several shellcheck warnings
Diffstat (limited to 'bin/check_links')
-rwxr-xr-xbin/check_links1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/check_links b/bin/check_links
index 9be7953..a079976 100755
--- a/bin/check_links
+++ b/bin/check_links
@@ -19,6 +19,7 @@ cp -al html $chk_dir
# Fix up https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425632
+# shellcheck disable=SC2016
find $chk_dir -name \*.html -print0 |
xargs -0r -- perl -i~ -pe '
s{\bid=("[^"]+")[^<>]*\>}{$&<a name=$1>}g;