summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-05-01 20:19:03 +0200
committerBruno Haible <bruno@clisp.org>2009-05-01 20:19:03 +0200
commite60691f285484f09c4004d961dbfa8903379cc9c (patch)
treeeb65956306da0e77dc9ae158c623dc82ed55fbbc
parenta5e5a3068605f089ad6cca005052b6ff3ddebca5 (diff)
downloadlibunistring-e60691f285484f09c4004d961dbfa8903379cc9c.tar.gz
Fix quoting.
-rw-r--r--ChangeLog4
-rw-r--r--lib/exported.sh.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 54bc8a8..ed1cf76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-05-01 Bruno Haible <bruno@clisp.org>
+ * lib/exported.sh.in: Fix quoting of argument reference.
+
+2009-05-01 Bruno Haible <bruno@clisp.org>
+
* version.sh (GNULIB_GIT_COMMIT): New variable.
* HACKING: Clarify which version of gnulib to use.
Reported by Paolo Bonzini.
diff --git a/lib/exported.sh.in b/lib/exported.sh.in
index 89e4008..7bd3b1e 100644
--- a/lib/exported.sh.in
+++ b/lib/exported.sh.in
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2009 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,5 +20,5 @@
# This is a separate script because $(GLOBAL_SYMBOL_PIPE) cannot be used in a
# Makefile, since it may contain dollar signs.
-nm_cmd="@NM@ $1 | @GLOBAL_SYMBOL_PIPE@"
+nm_cmd="@NM@ \"\$1\" | @GLOBAL_SYMBOL_PIPE@"
eval $nm_cmd