abuild: fix applying patches from https

fix patches such as https://dev.alpinelinux.org/archive/domoticz/openzwave-1.6.patch

previously it would only work with the filenamename.patch::$url syntax
This commit is contained in:
Natanael Copa 2019-11-28 12:46:12 +00:00
parent 0745179c4f
commit bb0324e398
1 changed files with 1 additions and 1 deletions

View File

@ -682,7 +682,7 @@ default_prepare() {
case ${i%::*} in
*.patch)
msg "${i%::*}"
patch ${patch_args:--p1} -i "$srcdir/${i%::*}" || return 1
patch ${patch_args:--p1} -i "$srcdir/$(filename_from_uri $i)" || return 1
;;
esac
done