diff options
author | mar77i <mar77i@mar77i.ch> | 2015-10-15 13:47:42 +0200 |
---|---|---|
committer | mar77i <mar77i@mar77i.ch> | 2015-10-15 13:47:42 +0200 |
commit | 96d35f72f17e971c8b0c711ea2c186d0b899a730 (patch) | |
tree | 65b043122f877a653b25c37f8a3fe9e34109280b /PKGBUILD | |
parent | 05baa36be4daf4d131900915f21db125ce2ccbce (diff) | |
download | AUR-96d35f72f17e971c8b0c711ea2c186d0b899a730.tar.gz AUR-96d35f72f17e971c8b0c711ea2c186d0b899a730.tar.zst AUR-96d35f72f17e971c8b0c711ea2c186d0b899a730.zip |
don't use SRCDEST, thanks phillid
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | } |