diff --git a/scripts/functions b/scripts/functions index 0028c038f..a4111329e 100644 --- a/scripts/functions +++ b/scripts/functions @@ -526,6 +526,9 @@ build_this_package() { xsourceballs=$( echo "$sourceballs" | grep -F "$xsrcpattern" ) fi for xsrctar in $xsourceballs; do + saved_patchfiles="$patchfiles" + var_append patchfiles " " \ + "`ls $confdir/*.patch.${xsrctar/-[0-9]*/} 2> /dev/null`" if [ $autoextract = 1 ]; then echo "Extracting $xsrctar ($taropt) ... " cd $builddir @@ -682,6 +685,7 @@ build_this_package() { fi hook_eval postdoc + patchfiles="$saved_patchfiles" done if [ "$rmemptydir" ]; then