[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: this script can be run without params
Holger Levsen
holger at moszumanska.debian.org
Fri Oct 16 14:58:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit f8b00b162f25a93d5f07059dd4a10d33ce9ed0e8
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Oct 16 16:57:41 2015 +0200
reproducible arch: this script can be run without params
---
bin/reproducible_build_arch_pkg.sh | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 57cb426..7216308 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
#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list