Package: gettext
Version: 0.18.1.1-5
Severity: normal
File: /usr/lib/gettext/project-id
Tags: patch

Running msginit in a cwd involving spaces causes some warnings from
basename. I've tracked the warnings to project-id. Attached is a patch
that protects the `pwd` output.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gettext depends on:
ii  dpkg           1.16.1.2
ii  gettext-base   0.18.1.1-5
ii  install-info   4.13a.dfsg.1-8
ii  libc6          2.13-23
ii  libcroco3      0.6.2-2
ii  libglib2.0-0   2.30.2-4
ii  libgomp1       4.6.2-9
ii  libncurses5    5.9-4
ii  libtinfo5      5.9-4
ii  libunistring0  0.9.3-5
ii  libxml2        2.7.8.dfsg-5

Versions of packages gettext recommends:
ii  autopoint  0.18.1.1-5
ii  curl       7.23.1-1
ii  lynx-cur   2.8.8dev.9-2
ii  wget       1.13.4-1

Versions of packages gettext suggests:
pn  gettext-doc  <none>

-- no debconf information
--- project-id	2012-01-05 14:41:25.000000000 -0300
+++ /usr/lib/gettext/project-id	2012-01-05 14:41:39.000000000 -0300
@@ -54,7 +54,7 @@
       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.

Reply via email to