allow newlines in prereq error messages

SVN-Revision: 6147
This commit is contained in:
Felix Fietkau 2007-01-20 18:45:06 +00:00
parent b69fd0a322
commit d8cc1426e4

View file

@ -27,7 +27,7 @@ define Require
echo 'ok.'; \ echo 'ok.'; \
else \ else \
echo 'failed.'; \ 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 fi
check-$(1): FORCE check-$(1): FORCE