diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-20 18:45:06 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-20 18:45:06 +0000 |
commit | ea7aaaa2a0ea06ec851c60d610245f24ac97856a (patch) | |
tree | 6b95f77e060dc4f1197a2bab29a9f56bafbf65ae /include | |
parent | a0c642f00af976e7ff77f4f479bc751fcb362039 (diff) |
allow newlines in prereq error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6147 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-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 |