Subject: xchat: bashisms in debian/rules
Package: xchat
Version: 2.4.5-2
Severity: normal
Tags: patch

Brace expansion is used in debian/rules, and this breaks when dash is installed as /bin/sh. A simple SHELL=/bin/bash at the top of rules fixes this.

-- 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.13-rc6-tyr
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xchat depends on:
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii  libglib2.0-0              2.8.1-1        The GLib library of C routines
ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface

diff -u -r xchat-2.4.5-old/debian/rules xchat-2.4.5/debian/rules
--- xchat-2.4.5-old/debian/rules	2005-10-02 14:24:18.000000000 -0400
+++ xchat-2.4.5/debian/rules	2005-10-02 14:24:36.000000000 -0400
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 # -*- Makefile -*-
 
+SHELL=/bin/bash
+
 include /usr/share/dpatch/dpatch.make
 
 export pythonpath=/usr/bin/python2.3

Reply via email to