summaryrefslogtreecommitdiff
path: root/system/easy-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'system/easy-kernel')
-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
}