From: mar77i Date: Thu, 15 Oct 2015 11:47:42 +0000 (+0200) Subject: don't use SRCDEST, thanks phillid X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=96d35f72f17e971c8b0c711ea2c186d0b899a730;p=perso%2FImmae%2FConfig%2FAUR.git don't use SRCDEST, thanks phillid --- 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 }