mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-04 23:36:11 +08:00
allow newlines in prereq error messages
SVN-Revision: 6147
This commit is contained in:
parent
b69fd0a322
commit
d8cc1426e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user