[X2Go-Commits] [buildscripts] 01/01: bin/createsusetagsrepo: temporarily disable the -e shell option while using failglob, we cannot ignore such errors...

git-admin at x2go.org git-admin at x2go.org
Thu Nov 24 09:25:40 CET 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit d6a6161cfcd8d2b68ddfd14136ea952a2bc52087
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Nov 24 09:25:32 2016 +0100

    bin/createsusetagsrepo: temporarily disable the -e shell option while using failglob, we cannot ignore such errors...
---
 bin/createsusetagsrepo |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/createsusetagsrepo b/bin/createsusetagsrepo
index 451a7d1..7cb8e42 100755
--- a/bin/createsusetagsrepo
+++ b/bin/createsusetagsrepo
@@ -45,10 +45,12 @@ cleanup_repo () {
     typeset file=""
     typeset failglob="$(shopt -p failglob)"
     shopt -s failglob
+    set +e
     for file in */*.rpm; do
       ln -sfv -- "${file}" "$(basename "${file}")"
     done
     eval "${failglob}"
+    set -e
 
     popd
   done

--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list