From fb0f880f0a19d0b1b0630472a8fce83fde9451f3 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 14 Oct 2013 15:55:39 +1000 Subject: 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 --- proto/PKGBUILD-split.proto | 2 +- proto/PKGBUILD.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'proto') 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" } -- cgit v1.2.3-70-g09d2