pkgstripstranslations fails if the locale contains an @

Bug #434544 reported by Michael Bienia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkgbinarymangler (Ubuntu)
Undecided
Martin Pitt

Bug Description

Binary package hint: pkgbinarymangler

As the sed expression in pkgstriptranslations uses @ for delimiter it fails if the locale name also contains a @:

sed -i 's@^[[:alnum:]]\+ usr/share/locale/sr@latin/entry.desktop$@c7ff2ad283d1914db2c7797ce8789719 usr/share/locale/sr@latin/entry.desktop@' DEBIAN/md5sums
sed: -e expression #1, char 60: unknown option to `s'

Using an other char for delimiter (like #) fixes it.

Revision history for this message
Michael Bienia (geser) wrote :
Martin Pitt (pitti)
Changed in pkgbinarymangler (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pkgbinarymangler - 63

---------------
pkgbinarymangler (63) karmic; urgency=low

  * pkgstriptranslations:
    - Use # instead of @ for the sed delimiter as @ can appear in locale
      names (lp: #434544)

 -- Michael Bienia <email address hidden> Tue, 22 Sep 2009 11:06:59 +0200

Changed in pkgbinarymangler (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers