diff -r 33c13a486d89 -r 80c1478b1297 scripts/functions --- a/scripts/functions Sat Aug 09 18:10:29 2008 +0000 +++ b/scripts/functions Fri Oct 24 15:35:39 2008 +0000 @@ -499,7 +499,7 @@ 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