diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-24 15:35:39 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-24 15:35:39 +0000 |
commit | 0fd5e653e5fb329804f52362241a907f63125f1c (patch) | |
tree | 64d5094cec3354680c028fa67f473891832cfea2 | |
parent | e95bd748e86d3c2112a7ecb7f2c2fd1abb3b10c5 (diff) | |
download | crosstool-ng-0fd5e653e5fb329804f52362241a907f63125f1c.tar.gz crosstool-ng-0fd5e653e5fb329804f52362241a907f63125f1c.tar.bz2 crosstool-ng-0fd5e653e5fb329804f52362241a907f63125f1c.zip |
Backport #1111 from trunk:
- Fix using only custom patches.
/branches/1.2/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 787cd148..ca67c839 100644 --- a/scripts/functions +++ b/scripts/functions @@ -499,7 +499,7 @@ CT_ExtractAndPatch() { official_patch_dir= custom_patch_dir= - [ "${CUSTOM_PATCH_ONLY}" = "y" ] || official_patch_dir="${CT_LIB_DIR}/patches/${base_file}/${ver_file}" + [ "${CT_CUSTOM_PATCH_ONLY}" = "y" ] || official_patch_dir="${CT_LIB_DIR}/patches/${base_file}/${ver_file}" [ "${CT_CUSTOM_PATCH}" = "y" ] && custom_patch_dir="${CT_CUSTOM_PATCH_DIR}/${base_file}/${ver_file}" for patch_dir in "${official_patch_dir}" "${custom_patch_dir}"; do if [ -n "${patch_dir}" -a -d "${patch_dir}" ]; then |