aboutsummaryrefslogtreecommitdiffstats
path: root/main/fprobe-ulog
diff options
context:
space:
mode:
Diffstat (limited to 'main/fprobe-ulog')
-rw-r--r--main/fprobe-ulog/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/fprobe-ulog/APKBUILD b/main/fprobe-ulog/APKBUILD
index ff8afad471..6dddc8d39c 100644
--- a/main/fprobe-ulog/APKBUILD
+++ b/main/fprobe-ulog/APKBUILD
@@ -21,10 +21,10 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd $_builddir
update_config_sub || return 1
- for i in ../*.patch
- do
- msg "Applying $i"
- patch -p1 < ../$i || exit 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
done
}