[Qa-jenkins-scm] [jenkins.debian.net] 01/05: reproducible/openwrt_common: rename first argument of save_logs() into project

Holger Levsen holger at layer-acht.org
Sat Jul 23 22:35:49 UTC 2016


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 189e0b507722557989885caf175f8b0c24a1e26f
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sat Jul 23 20:56:06 2016 +0200

    reproducible/openwrt_common: rename first argument of save_logs() into project
    
    The previous name was type which is a little bit disambicious
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_openwrt_common.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index 70f811f..a678f6a 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -23,13 +23,13 @@ create_results_dirs() {
 	mkdir -p $BASE/$project/dbd
 }
 
-# type = openwrt or lede
+# project = openwrt or lede
 # postfix = we use the postfix to save difference of the first and second build
 save_logs() {
-	local type="$1"
+	local project="$1"
 	local postfix="$2"
 
-	tar cJf "$BASE/${type}/dbd/logs_${postfix}.tar.xz" logs/
+	tar cJf "$BASE/${project}/dbd/logs_${postfix}.tar.xz" logs/
 }
 
 save_lede_results() {

-- 
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