summaryrefslogtreecommitdiff
path: root/system/easy-kernel/APKBUILD
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-02-17 00:42:57 +0100
committerLuis Ressel <aranea@aixah.de>2019-02-17 00:45:16 +0100
commit22326084130c03c2525a2d8ded003079161c8228 (patch)
tree4f7edb2d8582942891e208af4e0c97f53a9d1d38 /system/easy-kernel/APKBUILD
parent11e9c94318f40b1f4e9016736fc948a5508c6edc (diff)
downloadpackages-22326084130c03c2525a2d8ded003079161c8228.tar.gz
packages-22326084130c03c2525a2d8ded003079161c8228.tar.bz2
packages-22326084130c03c2525a2d8ded003079161c8228.tar.xz
packages-22326084130c03c2525a2d8ded003079161c8228.zip
sys/easy-kernel: Use patch -d
Diffstat (limited to 'system/easy-kernel/APKBUILD')
-rw-r--r--system/easy-kernel/APKBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/easy-kernel/APKBUILD b/system/easy-kernel/APKBUILD
index ce8d239d5..2fa91306a 100644
--- a/system/easy-kernel/APKBUILD
+++ b/system/easy-kernel/APKBUILD
@@ -35,9 +35,7 @@ prepare() {
default_prepare
cd "$srcdir"
cat linux-${_pkgminver}-mc$pkgrel.patch.xz | unxz -> linux-${_pkgminver}-mc$pkgrel.patch
- cd "$builddir"
- patch -Np1 <../linux-${_pkgminver}-mc$pkgrel.patch
- cd "$srcdir"
+ patch -Np1 -d "$builddir" <linux-${_pkgminver}-mc$pkgrel.patch
cp config-$CARCH linux-${_pkgminver}/.config
cp -pr linux-${_pkgminver} linux-src
}