diff options
author | Moritz Schulte <mo@g10code.com> | 2007-09-04 09:16:49 +0200 |
---|---|---|
committer | Moritz Schulte <mo@g10code.com> | 2007-09-04 09:16:49 +0200 |
commit | 7f033b2a880b81e5a3dc936ee0bb792423bc0b41 (patch) | |
tree | bf0fb28817ab21773b317d7aaf2a6ab6625dd23c | |
parent | 2007-09-04 Moritz Schulte <moritz@g10code.com> (diff) | |
download | gnupg2-7f033b2a880b81e5a3dc936ee0bb792423bc0b41.tar.xz gnupg2-7f033b2a880b81e5a3dc936ee0bb792423bc0b41.zip |
2007-09-04 Moritz Schulte <moritz@g10code.com>
* gpgsm-gencert.sh: Use printf instead of echo.
-rw-r--r-- | tools/ChangeLog | 4 | ||||
-rwxr-xr-x | tools/gpgsm-gencert.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog index 41ec8c215..26db7b768 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,5 +1,9 @@ 2007-09-04 Moritz Schulte <moritz@g10code.com> + * gpgsm-gencert.sh: Use printf instead of echo. + +2007-09-04 Moritz Schulte <moritz@g10code.com> + * gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is declared. diff --git a/tools/gpgsm-gencert.sh b/tools/gpgsm-gencert.sh index 23dfdd6ae..c66208e50 100755 --- a/tools/gpgsm-gencert.sh +++ b/tools/gpgsm-gencert.sh @@ -27,7 +27,7 @@ ASSUAN_COMMANDS="\ INPUT FD=$ASSUAN_FP_IN\n\ OUTPUT FD=$ASSUAN_FP_OUT --armor\n\ GENKEY\n\ -BYE" +BYE\n" ANSWER="" @@ -191,7 +191,7 @@ query_user_menu "Really create such a CSR?" "yes" "no" [ "$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 |