From: Daiki Ueno Date: Mon, 12 May 2014 20:46:25 +0000 (+0900) Subject: project-id: Add missing quotes around `pwd` for basename X-Git-Tag: v0.19~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25af8f943d193372591ab86d0f8e38e59acf3b93;p=thirdparty%2Fgettext.git project-id: Add missing quotes around `pwd` for basename Problem reported at . * project-id: Quote argument of the basename command. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 1937a00ea..a6a238777 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2014-05-13 Felipe Sateler (tiny change) + + project-id: Add missing quotes around `pwd` for basename + Problem reported at . + * project-id: Quote argument of the basename command. + 2014-05-12 Daiki Ueno msgfilter: Fix quote handling of doubled grave charaters diff --git a/gettext-tools/src/project-id b/gettext-tools/src/project-id index 496f466c9..e60c8e394 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.