[med-svn] samtools 04/05: Allow all scripts to be called without language extensions

Afif Elghraoui afif-guest at moszumanska.debian.org
Mon Sep 14 05:23:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

afif-guest pushed a commit to branch debian/unstable
in repository samtools.

commit 7afd302dc02a8c4521017b68a3db4063ff86c4ac
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sun Sep 13 22:19:17 2015 -0700

    Allow all scripts to be called without language extensions
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3bf4b52..3bc78fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,3 +26,8 @@ override_dh_auto_install:
 	  HTSDIR="/usr/include" \
 	  HTSLIB=$(shell dpkg -S libhts.a | awk '{print $$2}')
 	make clean
+	for script in $(CURDIR)/debian/tmp/usr/bin/*.*; \
+	do \
+		mv $$script $${script%.*}; \
+		ln -s `basename $${script%.*}` $$script; \
+	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/samtools.git



More information about the debian-med-commit mailing list