bootstrap: fix shellcheck warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8e26b78f1c5e49a8a97f2416ec284d7a52cab186
diff --git a/bootstrap.sh b/bootstrap.sh
index 9941c73..6b3c8b9 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
-echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'
\ No newline at end of file
+# shellcheck disable=SC2016
+echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'