Package: pygtk
Severity: normal
Tags: patch
Hi,
in debian/rules, the pversion substitution variable is not replaced
properly. It ends up unsubstituted in python2.3-glade2:
/usr/share/doc/python2.3-glade2/examples/glade/*.py and breaks calls to
those executables.
Consider the attached patch. It fixes it by removing the quotes around
the pversion reference. The quotes for the rest of the line are still
necessary to prevent history expansion ("!"), though.
bye,
Roland
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
--- debian/rules.orig 2005-10-03 11:29:38.303068106 +0200
+++ debian/rules 2005-10-03 11:41:24.168873431 +0200
@@ -156,7 +156,7 @@
# and make them executable
for pversion in 2.3 2.4; do \
for i in `find debian/python$${pversion}* -type f`; do \
- sed '1s,#!.*python[^ ]*\(.*\),#!/usr/bin/python$${pversion},' \
+ sed '1s,#!.*python[^ ]*\(.*\),#!/usr/bin/python'$${pversion}, \
$$i > $$i.temp; \
if cmp --quiet $$i $$i.temp; then \
rm -f $$i.temp; \