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
1 changed files with 1 additions and 1 deletions

View File

@ -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