[svn] GnuPG - r4578 - trunk/tools
svn author mo
cvs at cvs.gnupg.org
Tue Sep 4 09:17:18 CEST 2007
Author: mo
Date: 2007-09-04 09:16:49 +0200 (Tue, 04 Sep 2007)
New Revision: 4578
Modified:
trunk/tools/ChangeLog
trunk/tools/gpgsm-gencert.sh
Log:
2007-09-04 Moritz Schulte <moritz at g10code.com>
* gpgsm-gencert.sh: Use printf instead of echo.
Modified: trunk/tools/ChangeLog
===================================================================
--- trunk/tools/ChangeLog 2007-09-04 05:59:07 UTC (rev 4577)
+++ trunk/tools/ChangeLog 2007-09-04 07:16:49 UTC (rev 4578)
@@ -1,5 +1,9 @@
2007-09-04 Moritz Schulte <moritz at g10code.com>
+ * gpgsm-gencert.sh: Use printf instead of echo.
+
+2007-09-04 Moritz Schulte <moritz at g10code.com>
+
* gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is
declared.
Modified: trunk/tools/gpgsm-gencert.sh
===================================================================
--- trunk/tools/gpgsm-gencert.sh 2007-09-04 05:59:07 UTC (rev 4577)
+++ trunk/tools/gpgsm-gencert.sh 2007-09-04 07:16:49 UTC (rev 4578)
@@ -27,7 +27,7 @@
INPUT FD=$ASSUAN_FP_IN\n\
OUTPUT FD=$ASSUAN_FP_OUT --armor\n\
GENKEY\n\
-BYE"
+BYE\n"
ANSWER=""
@@ -191,7 +191,7 @@
[ "$ANSWER" != "yes" ] && exit 1
-echo -e "$ASSUAN_COMMANDS" | \
+printf "$ASSUAN_COMMANDS" | \
gpgsm --no-log-file --debug-level none --debug-none \
--server 4< "$file_parameter" 5>"$outfile" >/dev/null
More information about the Gnupg-commits
mailing list