summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2014-05-13 05:46:25 +0900
committerDaiki Ueno <ueno@gnu.org>2014-05-13 05:46:25 +0900
commit25af8f943d193372591ab86d0f8e38e59acf3b93 (patch)
treee7672b5e9653f8be4be062a3fffe18a8b868fdbf
parentd05b333b3accb449a28ea0ac007c3b6b1d4bed56 (diff)
downloadexternal_gettext-25af8f943d193372591ab86d0f8e38e59acf3b93.zip
external_gettext-25af8f943d193372591ab86d0f8e38e59acf3b93.tar.gz
external_gettext-25af8f943d193372591ab86d0f8e38e59acf3b93.tar.bz2
project-id: Add missing quotes around `pwd` for basename
Problem reported at <http://bugs.debian.org/654779>. * project-id: Quote argument of the basename command.
-rw-r--r--gettext-tools/src/ChangeLog6
-rwxr-xr-xgettext-tools/src/project-id2
2 files changed, 7 insertions, 1 deletions
diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog
index 1937a00..a6a2387 100644
--- a/gettext-tools/src/ChangeLog
+++ b/gettext-tools/src/ChangeLog
@@ -1,3 +1,9 @@
+2014-05-13 Felipe Sateler <fsateler@debian.org> (tiny change)
+
+ project-id: Add missing quotes around `pwd` for basename
+ Problem reported at <http://bugs.debian.org/654779>.
+ * project-id: Quote argument of the basename command.
+
2014-05-12 Daiki Ueno <ueno@gnu.org>
msgfilter: Fix quote handling of doubled grave charaters
diff --git a/gettext-tools/src/project-id b/gettext-tools/src/project-id
index 496f466..e60c8e3 100755
--- a/gettext-tools/src/project-id
+++ b/gettext-tools/src/project-id
@@ -54,7 +54,7 @@ while true; do
exit 0
fi
fi
- dir=`basename \`pwd\``
+ dir=`basename "\`pwd\`"`
case "$dir" in
i18n)
# This directory name, used in GNU make, is not the top level directory.