diff --git a/create_conda_software_bundle.sh b/create_conda_software_bundle.sh index d9f8e94c..54e3192a 100755 --- a/create_conda_software_bundle.sh +++ b/create_conda_software_bundle.sh @@ -121,6 +121,10 @@ for bash_file in *.sh; do sed -i "s/# __SWBUNDLE_ENVIRONMENT_INJECTION__/source \$POLAR2GRID_HOME\/bin\/env.sh/g" "$bash_file" done +# Softlink bin/ scripts in python runtime so env.sh adds them to PATH +cd ${PYTHON_RUNTIME_BASE}/bin +find ../../../bin/ -name "*.sh" ! -name "*env*" -exec ln -s {} . \; + echo "Copying Satpy auxiliary data to software bundle..." mkdir -p ${SATPY_DATA_DIR} || oops "Could not create polar2grid auxiliary data directory" # don't include large geotiff files that we don't use in P2G/G2G