summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-10-14 15:55:39 +1000
committerAllan McRae <allan@archlinux.org>2013-10-15 12:40:53 +1000
commitfb0f880f0a19d0b1b0630472a8fce83fde9451f3 (patch)
tree4366fdea4d6c853ba50a044598b381c20585322d /proto
parentdcfc247a2c56e31ed6d30e56ac982329c641f78d (diff)
downloadpacman-fb0f880f0a19d0b1b0630472a8fce83fde9451f3.tar.xz
proto: remove missed $srcdir redundancies
Most of the redundant "cd $srcdir" in the prototypes were removed in commit 5f80d7af. Fix the rest. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'proto')
-rw-r--r--proto/PKGBUILD-split.proto2
-rw-r--r--proto/PKGBUILD.proto2
2 files changed, 2 insertions, 2 deletions
diff --git a/proto/PKGBUILD-split.proto b/proto/PKGBUILD-split.proto
index fb4ca7b8..f341052f 100644
--- a/proto/PKGBUILD-split.proto
+++ b/proto/PKGBUILD-split.proto
@@ -30,7 +30,7 @@ noextract=()
md5sums=() #generate with 'makepkg -g'
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}
diff --git a/proto/PKGBUILD.proto b/proto/PKGBUILD.proto
index 1380a0f6..8d26c816 100644
--- a/proto/PKGBUILD.proto
+++ b/proto/PKGBUILD.proto
@@ -30,7 +30,7 @@ noextract=()
md5sums=() #generate with 'makepkg -g'
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}