# HG changeset patch # User bioitcore # Date 1505329626 14400 # Node ID c6b0f5c3f3b4416eae99a4145ca110a95cd97384 # Parent 713d8c903d0d2382117e7ac48ed8c0cfcec1a8c7 planemo upload commit 93e677982c3636da455de2f827a87e516c7985ac-dirty diff -r 713d8c903d0d -r c6b0f5c3f3b4 run.sh --- 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