|
|
@ -193,7 +193,7 @@ apply_patches() {
|
|
|
|
if [ -d "${GK_SHARE}/patches/${util}/${version}" ]
|
|
|
|
if [ -d "${GK_SHARE}/patches/${util}/${version}" ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
print_info 1 "${util}: >> Applying patches..."
|
|
|
|
print_info 1 "${util}: >> Applying patches..."
|
|
|
|
for i in ${GK_SHARE}/patches/${util}/${version}/*
|
|
|
|
for i in ${GK_SHARE}/patches/${util}/${version}/*{diff,patch}
|
|
|
|
do
|
|
|
|
do
|
|
|
|
patch_success=0
|
|
|
|
patch_success=0
|
|
|
|
for j in `seq 0 5`
|
|
|
|
for j in `seq 0 5`
|
|
|
@ -207,7 +207,6 @@ apply_patches() {
|
|
|
|
done
|
|
|
|
done
|
|
|
|
if [ ${patch_success} != 1 ]
|
|
|
|
if [ ${patch_success} != 1 ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
# return 1
|
|
|
|
|
|
|
|
gen_die "could not apply patch ${i} for ${util}-${version}"
|
|
|
|
gen_die "could not apply patch ${i} for ${util}-${version}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|