[med-svn] [pipasic] 03/03: No idea why but the example runs only if example.mgf is renamed to dataset.mgf
Andreas Tille
tille at debian.org
Thu Oct 1 20:42:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository pipasic.
commit cb4581c798ce4a7102fb20037402af3d09f33baa
Author: Andreas Tille <tille at debian.org>
Date: Thu Oct 1 22:35:03 2015 +0200
No idea why but the example runs only if example.mgf is renamed to dataset.mgf
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 4637b45..e1e3d5d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,11 +15,13 @@ override_dh_install:
mkdir -p debian/$(pkgexample)/usr/share/doc/$(DEBPKGNAME)
mkdir -p debian/$(pkgexample)/$(spectradir)
mkdir -p debian/$(pkgexample)/$(proteomedir)
+ # move around example files to writable location
+ # no idea why but the example runs only if example.mgf is renamed to dataset.mgf
cd debian/$(pkgexample)/usr/share/doc/$(DEBPKGNAME) && \
tar xaf $(CURDIR)/examples/example.tar.gz && \
mv example examples && \
find examples -type f -exec chmod 644 \{\} \; && \
- mv examples/data/*.mgf $(CURDIR)/debian/$(pkgexample)/$(spectradir) && \
+ mv examples/data/example.mgf $(CURDIR)/debian/$(pkgexample)/$(spectradir)/dataset.mgf && \
mv examples/ref/*.fasta $(CURDIR)/debian/$(pkgexample)/$(proteomedir) && \
rmdir examples/data && \
rmdir examples/ref
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pipasic.git
More information about the debian-med-commit
mailing list