summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-28 12:46:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-28 12:46:12 +0000
commitbb0324e39824fc0de14fd4b9ad539849ff27c619 (patch)
tree58d16ed099187832086426293713329d48c85924 /abuild.in
parent0745179c4ff9c808887d3b891b45ad37131bc19c (diff)
downloadabuild-bb0324e39824fc0de14fd4b9ad539849ff27c619.tar.gz
abuild-bb0324e39824fc0de14fd4b9ad539849ff27c619.tar.bz2
abuild-bb0324e39824fc0de14fd4b9ad539849ff27c619.tar.xz
abuild-bb0324e39824fc0de14fd4b9ad539849ff27c619.zip
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
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 141cc54..5654d8f 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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