Exporting patch: # HG changeset patch # User Muli Ben-Yehuda # Node ID 11e4f65368c2a8d1c583ad19621c58d155d0cd20 # Parent 446aa56ca4fee7d3ea2badfb59e8bb3540b507ae building the kernels should fail if patch(1) is not available when patching the kernel, rather than failing later when trying to build the unpatched kernel. - set -e - avoid two subshells so that make notices our exit status diff -r 446aa56ca4fee7d3ea2badfb59e8bb3540b507ae -r 11e4f65368c2a8d1c583ad19621c58d155d0cd20 buildconfigs/Rules.mk --- a/buildconfigs/Rules.mk Mon Oct 17 12:50:28 2005 +++ b/buildconfigs/Rules.mk Wed Oct 19 02:10:00 2005 @@ -80,10 +80,11 @@ rm -f patches/*/.makedep ref-%/.valid-ref: pristine-%/.valid-pristine + set -e rm -rf $(@D) cp -al $(