diff --git a/install.sh b/install.sh index 31b73c08560eca0205753559d6c869ca237fd29d..5318d944c622c54eca19ef353f4bf2411217d931 100755 --- a/install.sh +++ b/install.sh @@ -162,24 +162,12 @@ done ## create a new top-level eic-shell launcher script ## that sets the ATHENA_PREFIX and then starts singularity -## need different script for old singularity versions -if [ ${SINGULARITY_VERSION:0:1} != 2 ]; then -## newer singularity -cat << EOF > eic-shell -#!/bin/bash -export ATHENA_PREFIX=$PREFIX/local -export SINGULARITY_BINDPATH=$BINDPATH -$SINGULARITY run $SIF -EOF -else -## ancient singularity cat << EOF > eic-shell #!/bin/bash export ATHENA_PREFIX=$PREFIX/local export SINGULARITY_BINDPATH=$BINDPATH $SINGULARITY exec $SIF eic-shell EOF -fi chmod +x eic-shell