Mercurial > repos > bioitcore > chimerascan
changeset 5:c6b0f5c3f3b4 draft
planemo upload commit 93e677982c3636da455de2f827a87e516c7985ac-dirty
author | bioitcore |
---|---|
date | Wed, 13 Sep 2017 15:07:06 -0400 |
parents | 713d8c903d0d |
children | 6d54abd510d7 |
files | run.sh |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/run.sh Wed Sep 13 14:42:12 2017 -0400 +++ b/run.sh Wed Sep 13 15:07:06 2017 -0400 @@ -1,6 +1,8 @@ #!/usr/bin/bash -if [ "$(cat installation_chk 2>&1)" != "true" ]; then - python setup.py build && python setup.py install - echo true > installation_chk +if [ "$(cat $1/installation_chk 2>&1)" != "true" ]; then + python $1/setup.py build && python $1/setup.py install + mv $1/chimerascan $1/chimerascan_bak + ln -s /usr/local/lib/python2.7/dist-packages/chimerascan $1 + echo true > $1/installation_chk fi