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:
parent
0745179c4f
commit
bb0324e398
@ -682,7 +682,7 @@ default_prepare() {
|
|||||||
case ${i%::*} in
|
case ${i%::*} in
|
||||||
*.patch)
|
*.patch)
|
||||||
msg "${i%::*}"
|
msg "${i%::*}"
|
||||||
patch ${patch_args:--p1} -i "$srcdir/${i%::*}" || return 1
|
patch ${patch_args:--p1} -i "$srcdir/$(filename_from_uri $i)" || return 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user