tags 459160 patch
thanks

Hi,

the issue lies in the debian/rule file which uses bashisms.
Here is a proposed patch to remove the two I have found out.
Amongst them is the bashism responsible for the reported bug.

Xavier



--- /usr/src/wxwidgets2.6-2.6.3.2.2/debian/rules	2008-02-04 09:58:59.000000000 +0100
+++ /var/cache/pbuilder/build/2961/tmp/buildd/wxwidgets2.6-2.6.3.2.2/debian/rules	2008-02-04 16:24:00.000000000 +0100
@@ -452,7 +452,9 @@
 		   -twice -html
 	cp docs/latex/wx/*.gif $(objdir_doc)
 	rm -rf $(objdir_doc_cruft)
-	rm -f $(objdir_doc)/wx$(release)-manual.{con,hh*,htx,ref}
+	for ext in con hh* htx ref; do                         \
+		rm -f $(objdir_doc)/wx$(release)-manual.$$ext; \
+	done
 	touch $@
 
 build-examples-stamp: build-gtk-shared-stamp
@@ -821,7 +823,7 @@
 	   debian/$(package_gtk_py_lib)/usr/lib/wx/python/wx$(release)-dbg.pth
 
 	find debian/$(package_gtk_dbg_py)/$(pydir) -name '*.py?' -exec rm '{}' ';'
-	rm -rf usr/bin $(pydir)/{wxversion.py,wx.pth}
+	rm -rf usr/bin $(pydir)/wxversion.py $(pydir)/wx.pth
 
 	# This is rather bogus, its included in the main copyright file now though.
 	rm -f debian/$(package_gtk_dbg_py)/$(wxpydir)/wx/tools/XRCed/license.txt

Reply via email to