From: Felix Fietkau Date: Sat, 20 Jan 2007 18:45:06 +0000 (+0000) Subject: allow newlines in prereq error messages X-Git-Tag: reboot~30041 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d8cc1426e4470657b543f09b3166c20129e05dea;p=oweals%2Fopenwrt.git allow newlines in prereq error messages SVN-Revision: 6147 --- 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