diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-20 18:45:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-20 18:45:06 +0000 |
commit | aac11b03c1e2d61b1221aeabadfe2958e87ad164 (patch) | |
tree | 6b95f77e060dc4f1197a2bab29a9f56bafbf65ae | |
parent | f63375dd2f087b23b1ab60dc9c75020f01964e99 (diff) | |
download | upstream-aac11b03c1e2d61b1221aeabadfe2958e87ad164.tar.gz upstream-aac11b03c1e2d61b1221aeabadfe2958e87ad164.tar.bz2 upstream-aac11b03c1e2d61b1221aeabadfe2958e87ad164.zip |
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.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/prereq.mk b/include/prereq.mk index f0db860269..41596dcb8b 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 |