diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-21 21:04:25 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-21 21:04:25 +0000 |
commit | 2c6a4afc4a73b7ff65533a15a23c92bc3ff68b8d (patch) | |
tree | a0f97e5098bc21e30ea53d7068a20e512db033e0 /scripts/functions | |
parent | 636761338949f5e9900018f8703067fe9eb1967c (diff) | |
download | crosstool-ng-2c6a4afc4a73b7ff65533a15a23c92bc3ff68b8d.tar.gz crosstool-ng-2c6a4afc4a73b7ff65533a15a23c92bc3ff68b8d.tar.bz2 crosstool-ng-2c6a4afc4a73b7ff65533a15a23c92bc3ff68b8d.zip |
Fix using only custom patches.
Reported by Patrick FLAIG: http://sourceware.org/ml/crossgcc/2008-10/msg00032.html
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index ffed6c7d..c2d3675b 100644 --- a/scripts/functions +++ b/scripts/functions @@ -609,7 +609,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 |