]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
project-id: Add missing quotes around `pwd` for basename
authorDaiki Ueno <ueno@gnu.org>
Mon, 12 May 2014 20:46:25 +0000 (05:46 +0900)
committerDaiki Ueno <ueno@gnu.org>
Mon, 12 May 2014 20:46:25 +0000 (05:46 +0900)
Problem reported at <http://bugs.debian.org/654779>.
* project-id: Quote argument of the basename command.

gettext-tools/src/ChangeLog
gettext-tools/src/project-id

index 1937a00ea0fdb4ce5f30f97b5182d466772fc445..a6a238777c7e5a60646bd829a5cb93af5f83f79b 100644 (file)
@@ -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
index 496f466c92602cf39cb556d8729ee6df141743a2..e60c8e39411de0bd25de78a03dac18e468f3e34b 100755 (executable)
@@ -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.