Skip to content
Snippets Groups Projects
Commit 3aa9c996 authored by tjc's avatar tjc
Browse files

fix for mac apps

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@3940 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 1dacd460
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# to customise this script see the function called run_one_prog below # to customise this script see the function called run_one_prog below
RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_fasta,v 1.12 2005-02-21 11:51:32 tjc Exp $" RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_fasta,v 1.13 2005-12-19 19:38:39 tjc Exp $"
PROG=`echo $RCS_HEADER | sed 's/.*run_\(.*\),v.*/\1/'` PROG=`echo $RCS_HEADER | sed 's/.*run_\(.*\),v.*/\1/'`
...@@ -41,9 +41,12 @@ run_one_prog () { ...@@ -41,9 +41,12 @@ run_one_prog () {
### change these lines: ### change these lines:
EXEC=${EXEC-`which fasta34 2>/dev/null`}
EXEC=fasta34 if [ ! -x "$EXEC" ]; then
EXEC=`find Artemis* -name fasta34 2>/dev/null`
fi
echo "about to start $EXEC with input from $INPUT_FILE and output to" 1>&2 echo "about to start $EXEC with input from $INPUT_FILE and output to" 1>&2
echo "$OUTPUT_FILE using database $DATABASE" 1>&2 echo "$OUTPUT_FILE using database $DATABASE" 1>&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment