From ea7aaaa2a0ea06ec851c60d610245f24ac97856a Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 20 Jan 2007 18:45:06 +0000 Subject: allow newlines in prereq error messages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6147 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/prereq.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/prereq.mk b/include/prereq.mk index f0db86026..41596dcb8 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -27,7 +27,7 @@ define Require echo 'ok.'; \ else \ echo 'failed.'; \ - echo -e "$(strip $(2))" >> $(TMP_DIR)/.prereq-error; \ + echo -e "$(strip $(2))" | perl -ne 's/\\\s*/\n/g,print' >> $(TMP_DIR)/.prereq-error; \ fi check-$(1): FORCE -- cgit v1.2.3