From b4ab0af1c8a5f66d84fd598f71f4ed3e51638780 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 10 Sep 2015 17:30:49 +0200 Subject: reproducible: refactor, move delay_start() to before choose_package() --- bin/reproducible_build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 53c0bddb..0b8eec6f 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -376,8 +376,7 @@ choose_package () { fi } -init() { - delay_start +init_package_build() { if [ $SAVE_ARTIFACTS -eq 1 ] ; then local ANNOUNCE="Artifacts will be preserved." fi @@ -684,9 +683,9 @@ elif [ "$2" != "" ] ; then fi fi +delay_start choose_package # defines SUITE, PKGID, SRCPACKAGE, SCHEDULED_DATE, SAVE_ARTIFACTS, NOTIFY - -init +init_package_build get_source_package cat ${SRCPACKAGE}_${EVERSION}.dsc | tee -a ${RBUILDLOG} -- cgit v1.2.3-70-g09d2