From f8b00b162f25a93d5f07059dd4a10d33ce9ed0e8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 16 Oct 2015 16:57:41 +0200 Subject: reproducible arch: this script can be run without params --- bin/reproducible_build_arch_pkg.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh index 57cb4266..72163089 100755 --- a/bin/reproducible_build_arch_pkg.sh +++ b/bin/reproducible_build_arch_pkg.sh @@ -109,8 +109,7 @@ BUILDER="${JOB_NAME#reproducible_builder_}/${BUILD_ID}" # determine mode # if [ "$1" = "" ] ; then - echo "Error, needs at least one parameter." - exit 1 + MODE="master" elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then MODE="$1" SRCPACKAGE="$2" @@ -126,8 +125,6 @@ elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then mv -v /tmp/$PKG $TMPDIR/b$mode echo "$(date -u) - build #$MODE for $SRCPACKAGE on $HOSTNAME done." exit 0 -elif [ "$2" != "" ] ; then - MODE="master" fi # -- cgit v1.2.3-70-g09d2