1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 20:23:53 +02:00

include: don't rely on perl for printing prereq errors

Perl might not be present while checking prereqs, e.g. on a fresh
FreeBSD install.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44276
This commit is contained in:
Jo-Philipp Wich 2015-02-05 16:57:46 +00:00
parent 5dadc89b3a
commit 9aca57b6ae

View File

@ -35,7 +35,7 @@ define Require
echo 'ok.'; \ echo 'ok.'; \
else \ else \
echo 'failed.'; \ echo 'failed.'; \
echo -e "$(PKG_NAME): $(strip $(2))" | perl -ne 's/\\\s*/\n/g,print' >> $(TMP_DIR)/.prereq-error; \ echo -e "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \
fi fi
check-$(1): FORCE check-$(1): FORCE