summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-20 18:45:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-20 18:45:06 +0000
commitea7aaaa2a0ea06ec851c60d610245f24ac97856a (patch)
tree6b95f77e060dc4f1197a2bab29a9f56bafbf65ae
parenta0c642f00af976e7ff77f4f479bc751fcb362039 (diff)
allow newlines in prereq error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6147 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/prereq.mk2
1 files changed, 1 insertions, 1 deletions
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