[med-svn] r8820 - trunk/packages/ensembl/ensembl/trunk/debian

Andreas Tille tille at alioth.debian.org
Wed Dec 7 20:29:12 UTC 2011


Author: tille
Date: 2011-12-07 20:29:12 +0000 (Wed, 07 Dec 2011)
New Revision: 8820

Modified:
   trunk/packages/ensembl/ensembl/trunk/debian/adjust_shebang_line.sh
   trunk/packages/ensembl/ensembl/trunk/debian/changelog
   trunk/packages/ensembl/ensembl/trunk/debian/rules
Log:
Fix another kind of wrong shebang lines


Modified: trunk/packages/ensembl/ensembl/trunk/debian/adjust_shebang_line.sh
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/adjust_shebang_line.sh	2011-12-07 19:57:13 UTC (rev 8819)
+++ trunk/packages/ensembl/ensembl/trunk/debian/adjust_shebang_line.sh	2011-12-07 20:29:12 UTC (rev 8820)
@@ -42,7 +42,7 @@
 			# now the path substitution, keeping arguments to Perl intact
 			sed -i '1s%#!\s*/.*/perl%#!/usr/bin/perl%' $i
 			# also seen
-			sed -i '1s%#!perl%#!/usr/bin/perl%' $i
+			sed -i '1s%#![[:space:]]*perl%#!/usr/bin/perl%' $i
 		elif head -n 1 "$i" | grep -q wish; then
 			if [ "$VERBOSE" = "true" ] ; then echo Tcl/Tk ; fi
 			sed -i '1s%#!\s*/.*/wish.*%#!/usr/bin/wish%' $i

Modified: trunk/packages/ensembl/ensembl/trunk/debian/changelog
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/changelog	2011-12-07 19:57:13 UTC (rev 8819)
+++ trunk/packages/ensembl/ensembl/trunk/debian/changelog	2011-12-07 20:29:12 UTC (rev 8820)
@@ -34,8 +34,9 @@
   * debian/{ensembl.postinst,init.d}: Do not stop apache2 but leave a
     FIXME comment that this was done previosely to keep a record in case
     something might fail
-  * debian/adjust_shebang_line.sh: Be less verbose but provide an easy option
-    to switch on verbosity
+  * debian/adjust_shebang_line.sh:
+    - Be less verbose but provide an easy option to switch on verbosity
+    - Fix another invalid shebang line ("#! perl")
 
  -- Andreas Tille <tille at debian.org>  Wed, 30 Nov 2011 13:30:15 +0100
 

Modified: trunk/packages/ensembl/ensembl/trunk/debian/rules
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/rules	2011-12-07 19:57:13 UTC (rev 8819)
+++ trunk/packages/ensembl/ensembl/trunk/debian/rules	2011-12-07 20:29:12 UTC (rev 8820)
@@ -32,8 +32,7 @@
 	cp -a `find . -mindepth 1 -maxdepth 1 -type d | grep -v -e cbuild -e .pc -e debian` $(TMPINSTDIR)
 	find $(TMPINSTDIR) -name "*.pm" -o -name "*.png" -o -name "*.gif" -o -name README \
                 -o -name "*.sql" -o -name "*.pdf" -o -name "*.html" \
-		-o -name "*.sxw" -o -name "*.conf*" \
-		-o -name "*.txt" \
+		-o -name "*.sxw" -o -name "*.conf.example" -o -name "*.txt" \
 				| xargs -r --max-args 10 chmod 644
 
 	# FIXME: Since version 64 Ensembl contains a copy of doxygen as binary.




More information about the debian-med-commit mailing list