Skip to content

Commit

Permalink
Merge pull request #347 from sot/standalone-launcher
Browse files Browse the repository at this point in the history
Check for perl based on location of Ska Python
  • Loading branch information
taldcroft authored Jul 8, 2020
2 parents 17789d5 + 815e61e commit a519f0b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions starcheck/src/starcheck
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
# Unset PYTHONPATH because custom PYTHONPATH should never be allowed
# for flight starcheck
unset PYTHONPATH
export PYTHONHOME=$SKA

PYTHON_EXE=`which python`
PYTHON_DIR=`dirname $PYTHON_EXE`
export PYTHONHOME=`dirname $PYTHON_DIR`

# Check for skare3 perl
if [[ ! -f ${PYTHONHOME}/bin/perl ]];
then
echo "skare3 perl not installed. conda install perl perl-core-deps perl-ska-classic"
echo "skare3 perl not installed. conda install perl perl-ska-convert"
exit 1
fi
# Check for perl deps
Expand Down

0 comments on commit a519f0b

Please sign in to comment.