aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-20 18:45:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-20 18:45:06 +0000
commitd8cc1426e4470657b543f09b3166c20129e05dea (patch)
tree4c38e3d28ef7a141810851afb5e527fb583840fb /include
parentb69fd0a32238abc8b2e88a0ca8cce4e40b768835 (diff)
downloadupstream-d8cc1426e4470657b543f09b3166c20129e05dea.tar.gz
upstream-d8cc1426e4470657b543f09b3166c20129e05dea.tar.bz2
upstream-d8cc1426e4470657b543f09b3166c20129e05dea.zip
allow newlines in prereq error messages
SVN-Revision: 6147
Diffstat (limited to 'include')
-rw-r--r--include/prereq.mk2
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