[X2Go-Commits] [buildscripts] 01/01: fix tty allocation problems when signing repomd.xml
git-admin at x2go.org
git-admin at x2go.org
Wed Oct 29 15:54:20 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 7fec72f9e1558119217ee8480407bb5a190f213e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Oct 29 15:54:17 2014 +0100
fix tty allocation problems when signing repomd.xml
---
bin/build-rpm-package | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index ecefc8c..3102a37 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -358,8 +358,8 @@ upload_packages() {
0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/ && createrepo ."
- 0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/repodata && gpg -a -u ${GPG_KEY} --detach-sign repomd.xml"
- 0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/repodata && gpg -a --output repomd.xml.key --export ${GPG_KEY} "
+ 0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/repodata && rm -f repomd.xml.asc && gpg -a -u ${GPG_KEY} --detach-sign repomd.xml" 1>/dev/null 2>/dev/null
+ 0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/repodata && test -e repomd.xml.key || gpg -a --output repomd.xml.key --export ${GPG_KEY} "
fi
done
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list