[X2Go-Commits] [buildscripts] 01/01: bin/rpmsign-unattended: wrap send command in a block, otherwise older expect versions fail to parse the flag.
git-admin at x2go.org
git-admin at x2go.org
Fri Sep 8 07:37:05 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit b7d374be7cddc4f52a473bbd3f542f195a80e6a9
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Sep 8 07:36:47 2017 +0200
bin/rpmsign-unattended: wrap send command in a block, otherwise older expect versions fail to parse the flag.
---
bin/rpmsign-unattended | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/rpmsign-unattended b/bin/rpmsign-unattended
index de8b15e..9846457 100755
--- a/bin/rpmsign-unattended
+++ b/bin/rpmsign-unattended
@@ -2,6 +2,6 @@
spawn rpmsign {*}$argv
expect {
- -ex "Enter pass phrase: " send -- "\r"
+ -ex "Enter pass phrase: " { send -- "\r"; }
}
expect eof
--
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