mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
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(-)
This commit is contained in:
parent
6367613389
commit
2c6a4afc4a
@ -609,7 +609,7 @@ CT_ExtractAndPatch() {
|
|||||||
|
|
||||||
official_patch_dir=
|
official_patch_dir=
|
||||||
custom_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}"
|
[ "${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
|
for patch_dir in "${official_patch_dir}" "${custom_patch_dir}"; do
|
||||||
if [ -n "${patch_dir}" -a -d "${patch_dir}" ]; then
|
if [ -n "${patch_dir}" -a -d "${patch_dir}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user