Turn checkbashisms into a make target

make_gitrev.sh actually breaks checkbashisms' parser,
which /insists/ that the end-of-line " is actually a string start

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12101
This commit is contained in:
наб
2021-05-22 01:45:40 +02:00
committed by Brian Behlendorf
parent c3ef9f7528
commit f7d7ee0583
7 changed files with 27 additions and 36 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
#!/bin/sh
# shellcheck disable=SC2039
if ! type scanelf > /dev/null 2>&1; then
if ! command -v scanelf > /dev/null; then
echo "scanelf (from pax-utils) is required for these checks." >&2
exit 3
fi