This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository buildscripts. from 88930e6 bin/createsusetagsrepo: symlink noarch packages into noarch directory. new ca8d5d1 bin/createsusetagsrepo: fix SLE version fetching. new 6a8666b bin/createsusetagsrepo: change bash array usage slightly. The 2 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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 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 ca8d5d167d95dcac98347574557417ff01235b28 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Apr 21 23:50:27 2017 +0200 bin/createsusetagsrepo: fix SLE version fetching. --- bin/build-rpm-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index e71a6b5..8995a35 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -1079,7 +1079,7 @@ upload_packages() { typeset other="" typeset -a read_arr while IFS='.' read -ra read_arr; do - for i in "${read_arr[@]}"; do + for i in "${#read_arr[@]}"; do 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
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 6a8666b4aa778801d40a86fd32c966f3b698f7ec Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Apr 21 23:51:56 2017 +0200 bin/createsusetagsrepo: change bash array usage slightly. --- bin/build-rpm-package | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index 8995a35..a1efb07 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -399,7 +399,7 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET # Extras repo. typeset -i i=0 for ((i = 0; i < ${#extra_repo[@]}; ++i)); do - echo "${extra_repo[${i}]}" >> "${TMP_MOCK_CFG_FILE}" + echo "${extra_repo[i]}" >> "${TMP_MOCK_CFG_FILE}" done # Full repo if required. @@ -408,7 +408,7 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET typeset -i i=0 for ((i = 0; i < ${#full_repo[@]}; ++i)); do - echo "${full_repo[${i}]}" >> "${TMP_MOCK_CFG_FILE}" + echo "${full_repo[i]}" >> "${TMP_MOCK_CFG_FILE}" done fi @@ -1081,21 +1081,21 @@ upload_packages() { while IFS='.' read -ra read_arr; do for i in "${#read_arr[@]}"; do if [ "${i}" = "0" ]; then - major="${read_arr[${i}]}" + major="${read_arr[i]}" - [ "${major}" != "${read_arr[${i}]}" ] && { + [ "${major}" != "${read_arr[i]}" ] && { echo "Major SUSE version is not a valid integer, aborting." >&2 exit 1 } elif [ "${i}" = "1" ]; then - sp="${read_arr[${i}]}" + sp="${read_arr[i]}" - [ "${sp}" != "${read_arr[${i}]}" ] && { + [ "${sp}" != "${read_arr[i]}" ] && { echo "SUSE service pack version is not a valid integer, aborting." >&2 exit 1 } else - other="${other}.${read_arr[${i}]}" + other="${other}.${read_arr[i]}" fi done done <<< "${l_CODENAME}" -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git