Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for perl based on location of Ska Python #347

Merged
merged 1 commit into from
Jul 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
taldcroft marked this conversation as resolved.
Show resolved Hide resolved
exit 1
fi
# Check for perl deps
Expand Down