bootstrap: fix shellcheck warnings
Change-Id: I277b84c709d1a6c313f6df1b8f1351d8cb82d478
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/bootstrap.sh b/bootstrap.sh
index 50b75b7..9fdf674 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -8,11 +8,12 @@
clean)
test -f Makefile && make maintainer-clean
for file in ${AUTOCONF_FILES}; do
- find -name "$file" | xargs -r rm -rf
+ find . -name "$file" -print0 | xargs -0 -r rm -rf
done
exit 0
;;
esac
autoreconf -i
+# shellcheck disable=SC2016
echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'