From 20eb87e9ab382286ce3222140f87388563909f5e Mon Sep 17 00:00:00 2001 From: Andy Li Date: Wed, 28 Feb 2018 14:41:27 +0800 Subject: testing/haxe: Remove redundant `|| return 1`. --- testing/haxe/APKBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/testing/haxe/APKBUILD b/testing/haxe/APKBUILD index ccdabc531b..1018a7c0fd 100644 --- a/testing/haxe/APKBUILD +++ b/testing/haxe/APKBUILD @@ -29,20 +29,20 @@ _builddir="$srcdir/$pkgname-$pkgver$_versuffix" build() { cd "$_builddir" - rmdir libs extra/haxelib_src || return 1 - mv "$srcdir"/haxelib-${_commit_haxelib} extra/haxelib_src || return 1 - mv "$srcdir"/ocamllibs-${_commit_ocamllibs} libs || return 1 + rmdir libs extra/haxelib_src + mv "$srcdir"/haxelib-${_commit_haxelib} extra/haxelib_src + mv "$srcdir"/ocamllibs-${_commit_ocamllibs} libs # Check to see if ocamlopt exists. If not, bytecompile everything. - command -v ocamlopt && make -j1 || make -j1 BYTECODE=1 || return 1 - make -j1 tools || return 1 + command -v ocamlopt && make -j1 || make -j1 BYTECODE=1 + make -j1 tools } check() { cd "$_builddir" - ./haxe -version || return 1 - ./haxelib version || return 1 + ./haxe -version + ./haxelib version } package() { -- cgit v1.2.3