[med-svn] [microbiomeutil] 04/04: Adapt test run script for running in user installations
Andreas Tille
tille at debian.org
Wed Jan 20 16:38:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository microbiomeutil.
commit df6584d9278b0fd2eb347eb471ba20626df38aea
Author: Andreas Tille <tille at debian.org>
Date: Wed Jan 20 17:37:43 2016 +0100
Adapt test run script for running in user installations
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 7e6dd46..b73c9da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,7 +42,14 @@ override_dh_installexamples:
for mod in ChimeraSlayer NAST-iEr WigeoN ; do \
mkdir -p $(sampledir)/$${mod} ; \
cp -a $${mod}/sample_data $(sampledir)/$${mod} ; \
+ sed -i -e "s?../$${mod}?$${mod}?" \
+ -e "s?^.*\(/util/show_malign_no_gap.pl\)?/usr/lib/NAST-iEr\1?" \
+ -e "s?^.*\(/run_NAST-iEr.pl\)?/usr/lib/NAST-iEr\1?" \
+ -e "s?^.*\(ChimeraSlayer.pl\)?/usr/lib/ChimeraSlayer/\1?" \
+ -e "s?^.*\(/run_WigeoN.pl\)?/usr/lib/WigeoN\1?" \
+ $(sampledir)/$${mod}/sample_data/runMe.sh ; \
done
+ sed -i '1i #!/bin/sh' $(sampledir)/WigeoN/sample_data/runMe.sh
override_dh_fixperms :
dh_fixperms
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/microbiomeutil.git
More information about the debian-med-commit
mailing list