[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#453014: Bashism

From: Luca Falavigna <dktrkranz@ubuntu.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bashism
Package: netcdf
Version: 3.6.1-1
Severity: minor
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch

netcdf has a bashism in debian/rules file which causes FTBFS on systems
with /bin/sh linked to /bin/dash. Even if Debian is not affected, it
could be worth adjust it for compatibility purposes.
Attached patch, taken from Ubuntu version, should fix this issue.

Thank you.
diff -pruN 3.6.1-1/debian/rules 3.6.1-1ubuntu1/debian/rules
--- 3.6.1-1/debian/rules	2007-11-06 10:10:48.000000000 +0000
+++ 3.6.1-1ubuntu1/debian/rules	2007-11-06 10:09:27.000000000 +0000
@@ -335,8 +335,7 @@ endif
 	install -m 644 src/cxx/example.c src/cxx/example.cpp \
-	gzip -9v debian/tmp-dev/usr/share/doc/$(package)g-dev/[^e]*	\
-	  debian/tmp-dev/usr/share/doc/$(package)g-dev/examples/*
+	gzip -9vr debian/tmp-dev/usr/share/doc/$(package)g-dev/*
 	$(RM) -r debian/tmp-dev/usr/share/man/man3f
 	gzip -9v debian/tmp-dev/usr/share/man/*/*
 	install -m 644 debian/copyright	\

Reply to: