[med-svn] [blobology] 03/05: provide wrappers areound scripts to set PATH properly

Andreas Tille tille at debian.org
Fri Oct 21 16:54:34 UTC 2016


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

tille pushed a commit to branch master
in repository blobology.

commit cd4a7a4310bd3622075ab7c89313eabd5de64ba1
Author: Andreas Tille <tille at debian.org>
Date:   Fri Oct 21 18:29:47 2016 +0200

    provide wrappers areound scripts to set PATH properly
---
 debian/bin/blobology      | 8 ++++++++
 debian/bin/separate_reads | 1 +
 debian/install            | 1 +
 debian/links              | 2 --
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/bin/blobology b/debian/bin/blobology
new file mode 100644
index 0000000..0e6a7d7
--- /dev/null
+++ b/debian/bin/blobology
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+BLOBOLOGYDIR=/usr/lib/blobology
+export PATH=$BLOBOLOGYDIR:$PATH
+
+script=`basename $0`
+
+bash $BLOBOLOGYDIR/${script}.bash $@
diff --git a/debian/bin/separate_reads b/debian/bin/separate_reads
new file mode 120000
index 0000000..a3b6378
--- /dev/null
+++ b/debian/bin/separate_reads
@@ -0,0 +1 @@
+blobology
\ No newline at end of file
diff --git a/debian/install b/debian/install
index 091b0a6..08a1fe1 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,4 @@
+debian/bin	usr
 *.bash		usr/lib/blobology
 *.fa		usr/lib/blobology
 *.pl		usr/lib/blobology
diff --git a/debian/links b/debian/links
deleted file mode 100644
index 3154849..0000000
--- a/debian/links
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/blobology/blobology.bash	usr/bin/blobology
-usr/lib/blobology/separate_reads.bash	usr/bin/separate_reads

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



More information about the debian-med-commit mailing list