diff -r 70f7ea9f910a -r 046c4ebf346d scripts/functions --- a/scripts/functions Sun Oct 12 11:09:57 2008 +0000 +++ b/scripts/functions Tue Oct 21 21:04:25 2008 +0000 @@ -609,7 +609,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