Fixed quting.
authorWerner Koch <wk@gnupg.org>
Thu, 20 Oct 2005 18:20:24 +0000 (18:20 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 20 Oct 2005 18:20:24 +0000 (18:20 +0000)
ChangeLog
m4/gpg4win.m4

index 7610334..edc3702 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-20  Werner Koch  <wk@g10code.com>
+
+       * m4/gpg4win.m4 (GPG4WIN_FIND): Quote a file variable.
+       (GPG4WIN_SPKG): Ditto.
+
 2005-10-20  Marcus Brinkmann  <marcus@g10code.de>
 
        * src/gpg4win.nsi: Add start menu support.
index 27e7e02..7e504a9 100644 (file)
@@ -138,7 +138,7 @@ AC_DEFUN([GPG4WIN_FIND],
         AC_MSG_RESULT($_gpg4win_file))
   AS_IF([test -z "$_gpg4win_file" -a $_gpg4win_critical = yes],
         AC_MSG_ERROR(could not find sources for $1 in $_gpg4win_dir))
-  AS_IF([test ! -z $_gpg4win_file],
+  AS_IF([test ! -z "$_gpg4win_file"],
         [gpg4win_val="$_gpg4win_file"
        [gpg4win_version=`echo "$gpg4win_val" | sed -e "s,^.*/${_gpg4win_pat}${_gpg4win_suffix}$,\1,"`]
          [$5]],
@@ -213,7 +213,7 @@ AC_DEFUN([GPG4WIN_SPKG],
   gpg4win_pkg_[]m4_bpatsubst([$1],[[-+]],_)[]_version=$_gpg4win_version
   AC_SUBST(gpg4win_pkg_[]m4_bpatsubst([$1],[[-+]],_)[]_version)
 
-  AS_IF([test $_gpg4win_spkg != no],
+  AS_IF([test "$_gpg4win_spkg" != no],
     _gpg4win_pkgs="$_gpg4win_pkgs $1"
     # Record dependencies.  Also enter every package as node.
     _gpg4win_deps="$_gpg4win_deps $1 $1"