Author: jow
Date: 2015-02-05 17:57:46 +0100 (Thu, 05 Feb 2015)
New Revision: 44276

Modified:
   trunk/include/prereq.mk
Log:
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 <[email protected]>

Modified: trunk/include/prereq.mk
===================================================================
--- trunk/include/prereq.mk     2015-02-05 16:57:39 UTC (rev 44275)
+++ trunk/include/prereq.mk     2015-02-05 16:57:46 UTC (rev 44276)
@@ -35,7 +35,7 @@
                        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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to