summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-10-03 21:54:31 +0200
committerHelmut Grohne <helmut@subdivi.de>2014-10-03 21:54:31 +0200
commit92aa65747ddad6fdc47bdb1680cb51a9ed0977aa (patch)
tree1f151e8d844076b45502423f3d4bb33deee04153
parent24deda5a8985fb4efae82427456d13c5b879f2a1 (diff)
downloadjenkins.debian.net-92aa65747ddad6fdc47bdb1680cb51a9ed0977aa.tar.xz
fix typo in update_jdn.sh
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index f39005aa..dcc190c9 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -130,7 +130,7 @@ explain "Jenkins jobs updated."
#wc -m counts one byte too many, so we substract one
let DEFINED_MY_TRIGGERS=$(grep my_trigger: *.yaml|wc -l)+$(grep my_trigger: *.yaml|grep , |xargs -r echo | sed 's/[^,]//g'| wc -m)-1
DEFINED_DI_TRIGGERS=$(grep "defaults: d-i-manual-html" d-i.yaml|wc -l)
-DEFINED_REPRODUCIBLE_TRIGGERS=$(grep "^ defaults: reproducible$" reproducible.yam|wc -l)
+DEFINED_REPRODUCIBLE_TRIGGERS=$(grep "^ defaults: reproducible$" reproducible.yaml|wc -l)
let DEFINED_TRIGGERS=DEFINED_MY_TRIGGERS+DEFINED_DI_TRIGGERS
let DEFINED_TRIGGERS=DEFINED_TRIGGERS+DEFINED_REPRODUCIBLE_TRIGGERS
let CONFIGURED_TRIGGERS=$(grep \<childProjects /var/lib/jenkins/jobs/*/config.xml|wc -l)+$(grep \<childProjects /var/lib/jenkins/jobs/*/config.xml |grep , |xargs -r echo | sed 's/[^,]//g'| wc -m)-1