summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/project-id
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 /gettext-tools/src/project-id
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.
Diffstat (limited to 'gettext-tools/src/project-id')
-rwxr-xr-xgettext-tools/src/project-id2
1 files changed, 1 insertions, 1 deletions
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.