Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / src / project-id
index 496f466..103f91f 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Prints a package's identification PACKAGE VERSION or PACKAGE.
 #
-# Copyright (C) 2001-2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2001-2003, 2005, 2015 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
@@ -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.