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

afif-guest pushed a commit to branch master
in repository pbgenomicconsensus.

commit c409ca5601faaae7ac5ab3623bd3ea499059ed6b
Author: Afif Elghraoui <a...@ghraoui.name>
Date:   Tue Sep 15 00:09:03 2015 -0700

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

diff --git a/debian/rules b/debian/rules
index 8e5def7..9226733 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,15 @@
 include /usr/share/dpkg/default.mk
 
 export PYBUILD_NAME := $(DEB_SOURCE)
+BINDIR=$(CURDIR)/debian/$(DEB_SOURCE)/usr/bin
 
 %:
        LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_install:
+       dh_install
+       for script in $(BINDIR)/*.py; \
+       do \
+               mv $$script $(BINDIR)/`basename $$script .py`; \
+               ln -s `basename $$script .py` $$script; \
+       done

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

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to