diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-08-31 12:47:58 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-08-31 12:47:58 +0200 |
commit | 2efc2b23197f16c6e4490af108dc4bd3861e9de1 (patch) | |
tree | 330dbac56dc89ece4d91ce1abd6d39f8359a5523 /scripts/functions | |
parent | b09e70bda5f9e5e559f6aeea95ba15035b3654a3 (diff) | |
download | crosstool-ng-2efc2b23197f16c6e4490af108dc4bd3861e9de1.tar.gz crosstool-ng-2efc2b23197f16c6e4490af108dc4bd3861e9de1.tar.bz2 crosstool-ng-2efc2b23197f16c6e4490af108dc4bd3861e9de1.zip |
config: add fallback to patch order
Add the possibility to fallback to either bundled or local patches
if local or bundled are missing.
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions index 02e2eee6..ae584c4c 100644 --- a/scripts/functions +++ b/scripts/functions @@ -630,6 +630,9 @@ CT_Patch() { CT_DoExecLog ALL patch -g0 -F1 -p1 -f <"${p}" fi done + if [ "${CT_PATCH_SINGLE}" = "y" ]; then + break + fi fi done |