I was surprised to find that brace expansion isn't in Single Unix Spec
(http://www.opengroup.org/onlinepubs/007908799/xcu/shellix.html);
a google search for "brace expansion" suggests that the feature is
specific to bash and zsh.

I attach a patch.  (Only debian/rules is affected.)

I've checked that the new package builds (with /bin/sh linked to dash)
and that the resulting wacom-tools binary doesn't contain the three
files /usr/lib/libwacomcfg.{a,la,so}.  No other testing done.

Perhaps lintian should use checkbashisms.

pjrm.
diff -dur wacom-tools-0.7.9.3/debian/rules 
wacom-tools-0.7.9.3-fixbashism/debian/rules
--- wacom-tools-0.7.9.3/debian/rules    2008-02-05 09:50:57.000000000 +1100
+++ wacom-tools-0.7.9.3-fixbashism/debian/rules 2008-02-05 09:53:12.000000000 
+1100
@@ -263,7 +263,9 @@
        # Remove these for the moment, they belong in
        # a -dev package but nothing needs it yet.
        $(RM) -r debian/$(package_tools)/usr/include
-       $(RM) -r debian/$(package_tools)/usr/lib/libwacomcfg.{a,la,so}
+       $(RM) debian/$(package_tools)/usr/lib/libwacomcfg.a     \
+             debian/$(package_tools)/usr/lib/libwacomcfg.la    \
+             debian/$(package_tools)/usr/lib/libwacomcfg.so
 
        # Remove this too, it belongs in $package_xorg
        $(RM) -r debian/$(package_tools)/usr/share/man/man4

Reply via email to