diff --git a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild index c1c79ef..10fd881 100644 --- a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild +++ b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild @@ -33,7 +33,7 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} src_prepare() { sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile" EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" epatch `pwd` + EPATCH_FORCE="yes" epatch "${WORKDIR}/linux-${KV_FULL}" mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" } diff --git a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild index 44405f6..5ddc6b9 100644 --- a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild +++ b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild @@ -32,7 +32,7 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} src_prepare() { sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile" EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" epatch `pwd` + EPATCH_FORCE="yes" epatch "${WORKDIR}/linux-${KV_FULL}" mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" }