tags 375633 + patch thanks Hello,
attached is the patch which I used to fix the bashism in debian/rules for the Ubuntu package. Regards, Michael
diff -u pentanet-2.3.1/debian/rules pentanet-2.3.1/debian/rules --- pentanet-2.3.1/debian/rules +++ pentanet-2.3.1/debian/rules @@ -23,15 +23,19 @@ clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp config.{log,status,cache} + rm -f build-stamp configure-stamp config.log config.status config.cache -$(MAKE) clean rm -f driver/pentanet.o dh_clean - rm -f $(CURDIR)/debian/{build,configure}-stamp - rm -rf $(CURDIR)/debian/{tmp,pentanet-{utils,doc,dev}} - find $(CURDIR)/{apps,tools} -name "*.o" -exec rm {} \; + rm -f $(CURDIR)/debian/build-stamp $(CURDIR)/debian/configure-stamp + rm -rf $(CURDIR)/debian/tmp + rm -rf $(CURDIR)/debian/pentanet-utils + rm -rf $(CURDIR)/debian/pentanet-doc + rm -rf $(CURDIR)/debian/pentanet-dev + find $(CURDIR)/apps -name "*.o" -exec rm {} \; + find $(CURDIR)/tools -name "*.o" -exec rm {} \; find $(CURDIR) -name "*~" -exec rm {} \; - rm -f $(CURDIR)/apps/{textapp/pentanett,monitor/pentanetm} + rm -f $(CURDIR)/apps/textapp/pentanett $(CURDIR)/apps/monitor/pentanetm find $(CURDIR)/apps -name "*.la" -exec rm {} \; install: build @@ -40,7 +44,10 @@ dh_clean -k dh_installdirs # Very ugly, but their makefile is unusable - install -d $(DESTDIR)/usr/{bin,lib,include/pentanet,share/man/man1} + install -d $(DESTDIR)/usr/bin + install -d $(DESTDIR)/usr/lib + install -d $(DESTDIR)/usr/include/pentanet + install -d $(DESTDIR)/usr/share/man/man1 install -m 0755 -s apps/monitor/pentanetm $(DESTDIR)/usr/bin install -m 0755 -s apps/textapp/pentanett $(DESTDIR)/usr/bin install -m 0644 apps/libif/pentapi.h $(DESTDIR)/usr/include/pentanet @@ -48,7 +55,8 @@ install -m 0644 share/xptype.h $(DESTDIR)/usr/include/pentanet install -m 0644 apps/libif/libif.la $(DESTDIR)/usr/lib/libpentanet.a strip --strip-unneeded --remove-section=.note --remove-section=.comment $(DESTDIR)/usr/lib/libpentanet.a - install -m 0644 debian/pentanet[tm].1 $(DESTDIR)/usr/share/man/man1 + install -m 0644 debian/pentanett.1 $(DESTDIR)/usr/share/man/man1 + install -m 0644 debian/pentanetm.1 $(DESTDIR)/usr/share/man/man1 # Build architecture-independent files here. binary-indep: build install