diff options
author | Allan McRae <allan@archlinux.org> | 2010-05-29 03:17:10 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-02 20:14:34 +0200 |
commit | 2710b256cc260db6a0805c83fb3fcf9e32aa3d86 (patch) | |
tree | 2e83b8104e41c5cad99f64c0ce68a80eba0b3c64 | |
parent | 5dffef787df72cc407708242d14f07496bb37791 (diff) | |
download | pacman-2710b256cc260db6a0805c83fb3fcf9e32aa3d86.tar.gz pacman-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.proto | 2 | ||||
-rw-r--r-- | 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() { |