aboutsummaryrefslogtreecommitdiff
path: root/extra/libelf
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-11-15 19:57:16 +0100
committerCem Keylan <cem@ckyln.com>2021-11-15 19:57:16 +0100
commitd25efd7189255866d7365e8f30f8168bdeec2bf5 (patch)
treece76710e65271f90a431204a57cec0008752b905 /extra/libelf
parent456c1893a6960140a121b927d31e4a7fb6e2afe7 (diff)
downloadrepository-d25efd7189255866d7365e8f30f8168bdeec2bf5.tar.gz
libelf: ignore shellcheck false positive
Diffstat (limited to 'extra/libelf')
-rwxr-xr-xextra/libelf/build11
1 files changed, 8 insertions, 3 deletions
diff --git a/extra/libelf/build b/extra/libelf/build
index f4d2f513..ab7be6a0 100755
--- a/extra/libelf/build
+++ b/extra/libelf/build
@@ -9,9 +9,14 @@ clsed 's/as_fn_error.*fts/: "/g' configure
clsed 's/as_fn_error.*obstack/: "/g' configure
# Don't compile unrelated C files which require argp.
-clsed 's/color.*printversion../#/g' lib/Makefile.in
-clsed 's/error.*printversion../#/g' lib/Makefile.in
-clsed 's/color\.\$(OBJ/#/g' lib/Makefile.in
+#
+# False positive, we are not trying to expand anything
+# shellcheck disable=2016
+{
+ clsed 's/color.*printversion../#/g' lib/Makefile.in
+ clsed 's/error.*printversion../#/g' lib/Makefile.in
+ clsed 's/color\.\$(OBJ/#/g' lib/Makefile.in
+}
./configure \
--prefix=/usr \