From: Jo-Philipp Wich Date: Thu, 5 Feb 2015 16:57:46 +0000 (+0000) Subject: include: don't rely on perl for printing prereq errors X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9aca57b6ae5852831542241eba638c57a076bd56;p=openwrt%2Fstaging%2Fsvanheule.git 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 SVN-Revision: 44276 --- diff --git a/include/prereq.mk b/include/prereq.mk index d3b73663e3..83625e3bf2 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -35,7 +35,7 @@ define Require echo 'ok.'; \ else \ 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 check-$(1): FORCE