aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormar77i <mar77i@mar77i.ch>2015-10-15 13:47:42 +0200
committermar77i <mar77i@mar77i.ch>2015-10-15 13:47:42 +0200
commit96d35f72f17e971c8b0c711ea2c186d0b899a730 (patch)
tree65b043122f877a653b25c37f8a3fe9e34109280b
parent05baa36be4daf4d131900915f21db125ce2ccbce (diff)
downloadAUR-96d35f72f17e971c8b0c711ea2c186d0b899a730.tar.gz
AUR-96d35f72f17e971c8b0c711ea2c186d0b899a730.tar.zst
AUR-96d35f72f17e971c8b0c711ea2c186d0b899a730.zip
don't use SRCDEST, thanks phillid
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9924c53..349f28f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,11 +42,11 @@ prepare() {
42 if [[ "$file" == "config.h" ]]; then 42 if [[ "$file" == "config.h" ]]; then
43 # add config.h if present in source array 43 # add config.h if present in source array
44 # Note: this supersedes the above sed to config.def.h 44 # Note: this supersedes the above sed to config.def.h
45 cp "$SRCDEST/$file" . 45 cp "$srcdir/$file" .
46 continue 46 continue
47 elif [[ "$file" == *.diff ]]; then 47 elif [[ "$file" == *.diff ]]; then
48 # add all patches present in source array 48 # add all patches present in source array
49 patch -Np1 <"$SRCDEST/$file" 49 patch -Np1 <"$srcdir/$file"
50 fi 50 fi
51 done 51 done
52} 52}