summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-05-29 11:17:10 +1000
committerDan McGee <dan@archlinux.org>2010-06-02 13:14:34 -0500
commit2710b256cc260db6a0805c83fb3fcf9e32aa3d86 (patch)
tree2e83b8104e41c5cad99f64c0ce68a80eba0b3c64
parent5dffef787df72cc407708242d14f07496bb37791 (diff)
downloadpacman-2710b256cc260db6a0805c83fb3fcf9e32aa3d86.tar.xz
Remove unnecessary error catching from PKGBUILD protos
The use of "|| return 1" is no longer necessary in PKGBUILDs. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--PKGBUILD-split.proto2
-rw-r--r--PKGBUILD.proto2
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() {