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

Andreas Tille tille at alioth.debian.org
Thu Dec 8 21:42:59 UTC 2011


Author: tille
Date: 2011-12-08 21:42:59 +0000 (Thu, 08 Dec 2011)
New Revision: 8850

Modified:
   trunk/packages/ensembl/ensembl/trunk/debian/changelog
   trunk/packages/ensembl/ensembl/trunk/debian/rules
Log:
9 lintian warnings about non-executable scripts less


Modified: trunk/packages/ensembl/ensembl/trunk/debian/changelog
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/changelog	2011-12-08 21:38:46 UTC (rev 8849)
+++ trunk/packages/ensembl/ensembl/trunk/debian/changelog	2011-12-08 21:42:59 UTC (rev 8850)
@@ -25,6 +25,7 @@
     - fix some permissions
     - use Debian packaged JavaScript library tinymce
     - do not provide ensembl-variation/scripts/import/run.me
+    - make bash scripts executable
   * debian/ensembl.dirs:
     - Do not create directories in /var/tmp which are created in postinst
       anyway

Modified: trunk/packages/ensembl/ensembl/trunk/debian/rules
===================================================================
--- trunk/packages/ensembl/ensembl/trunk/debian/rules	2011-12-08 21:38:46 UTC (rev 8849)
+++ trunk/packages/ensembl/ensembl/trunk/debian/rules	2011-12-08 21:42:59 UTC (rev 8850)
@@ -60,13 +60,16 @@
 		-name "do_flatfile_dump_registry" -o -name "parse_snp_to_ensembl_mouse" \
 				| xargs -r --max-args 1 debian/adjust_shebang_line.sh
 
-	echo "Adjusting path to Perl wherever it may be found" ; \
-	egrep -rl "^#!\s*/.*/perl" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!\s*/\(usr\|localsw\)/.*/perl%#!/usr/bin/perl%' ; \
-	egrep -rl "^#!\s*/.*/perl" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!\s*/\(usr\|localsw\|software\)/.*/perl%#!/usr/bin/perl%' ; \
-	echo "Adjusting path to Bash wherever it may be found" ; \
-	egrep -rl "^#!\s*/.*/bash" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!\s*/\(usr\|localsw\)/.*/bash%#!/bin/bash%' ; \
-	egrep -rl "^#!.*ENV.*PERL" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!.*%#!/usr/bin/perl%' ; \
+	# echo "Adjusting path to Perl wherever it may be found"
+	egrep -rl "^#!\s*/.*/perl" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!\s*/\(usr\|localsw\)/.*/perl%#!/usr/bin/perl%'
+	egrep -rl "^#!\s*/.*/perl" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!\s*/\(usr\|localsw\|software\)/.*/perl%#!/usr/bin/perl%'
+	# echo "Adjusting path to Bash wherever it may be found"
+	egrep -rl "^#!\s*/.*/bash" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!\s*/\(usr\|localsw\)/.*/bash%#!/bin/bash%'
+	egrep -rl "^#!.*ENV.*PERL" $(TMPINSTDIR) | xargs -r --max-args 1 sed -i '1s%^#!.*%#!/usr/bin/perl%'
 
+	# some scripts are not executable
+	egrep -rl "^#\!\s*/.*/bash" $(TMPINSTDIR)/ensembl-functgenomics/scripts | xargs -r --max-args 1 chmod a+x
+
 	find $(TMPINSTDIR) -name Makefile.PL -delete
 
 	mkdir -p $(CURDIR)/debian/tmp/etc/default/ensembl.d/




More information about the debian-med-commit mailing list