Commit 7b6682bd authored by CEVAER's avatar CEVAER

Added script_dir so that autodetection of DATABASE_URL works

parent 2fa0cfd2
......@@ -12,6 +12,8 @@ while getopts ":d:o:" o; do
esac
done
script_dir=$(dirname $(readlink -f "$0")) # ie $CONDA_PREFIX/bin
# Activate our conda environment
if [ -z "$CONDA_PREFIX" ] ; then
conda_dir=$(readlink -f $script_dir/..)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment