]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
don't use SRCDEST, thanks phillid
authormar77i <mar77i@mar77i.ch>
Thu, 15 Oct 2015 11:47:42 +0000 (13:47 +0200)
committermar77i <mar77i@mar77i.ch>
Thu, 15 Oct 2015 11:47:42 +0000 (13:47 +0200)
PKGBUILD

index 9924c538b3d9d3c8689e143c3da196c87767999c..349f28f9d81e59f4855c83f2b41bf3a661febfe0 100644 (file)
--- 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
 }