From 2710b256cc260db6a0805c83fb3fcf9e32aa3d86 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 29 May 2010 11:17:10 +1000 Subject: Remove unnecessary error catching from PKGBUILD protos The use of "|| return 1" is no longer necessary in PKGBUILDs. Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- PKGBUILD-split.proto | 2 +- PKGBUILD.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD-split.proto b/PKGBUILD-split.proto index 484cb1a3..d7f1de1b 100644 --- a/PKGBUILD-split.proto +++ b/PKGBUILD-split.proto @@ -29,7 +29,7 @@ md5sums=() #generate with 'makepkg -g' build() { cd "$srcdir/$pkgbase-$pkgver" ./configure --prefix=/usr - make || return 1 + make } package_pkg1() { diff --git a/PKGBUILD.proto b/PKGBUILD.proto index b4d9c94b..ebbdf0ae 100644 --- a/PKGBUILD.proto +++ b/PKGBUILD.proto @@ -30,7 +30,7 @@ build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr - make || return 1 + make } package() { -- cgit v1.2.3-70-g09d2