summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-07-23 20:56:06 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-23 18:32:15 -0400
commit189e0b507722557989885caf175f8b0c24a1e26f (patch)
treefab4dff5b2701c92301463c29badfb35c656da2d
parent235300a73ae5aff1ed84ebee14d778904021cbc5 (diff)
downloadjenkins.debian.net-189e0b507722557989885caf175f8b0c24a1e26f.tar.xz
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@layer-acht.org>
-rw-r--r--bin/reproducible_openwrt_common.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index 70f811f8..a678f6a7 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() {