From 96d35f72f17e971c8b0c711ea2c186d0b899a730 Mon Sep 17 00:00:00 2001 From: mar77i Date: Thu, 15 Oct 2015 13:47:42 +0200 Subject: don't use SRCDEST, thanks phillid --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 9924c53..349f28f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -42,11 +42,11 @@ prepare() { if [[ "$file" == "config.h" ]]; then # add config.h if present in source array # Note: this supersedes the above sed to config.def.h - cp "$SRCDEST/$file" . + cp "$srcdir/$file" . continue elif [[ "$file" == *.diff ]]; then # add all patches present in source array - patch -Np1 <"$SRCDEST/$file" + patch -Np1 <"$srcdir/$file" fi done } -- cgit v1.2.3