This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository buildscripts. from 5210aba bin/build-rpm-package: debug script a bit. I totally can't piece together what I initially thought to do. new ebf647b bin/build-rpm-package: fix SLE version parsing for real. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: bin/build-rpm-package | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit ebf647b210c467c9d0e7a845614a694c9d533298 Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Apr 22 00:37:38 2017 +0200 bin/build-rpm-package: fix SLE version parsing for real. I really meant to use C-style for loops back then. --- bin/build-rpm-package | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index a5a30a5..e2662c8 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -1079,11 +1079,8 @@ upload_packages() { typeset other="" typeset -a read_arr while IFS='.' read -ra read_arr; do - for i in "${#read_arr[@]}"; do - echo "current element in \${read_array[${i}]}: ${read_array[i]}" - done - - for i in "${#read_arr[@]}"; do + for ((i = 0; i < ${#read_arr[@]}; ++i)); do + echo "current element in \${read_arr[${i}]}: ${read_arr[i]}" if [ "${i}" = "0" ]; then major="${read_arr[i]}" -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git