Skip to content

Commit

Permalink
Ensure bundle scripts have priority over python package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Jan 15, 2025
1 parent 3834dcb commit 9f01a40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions swbundle/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ if [[ "${_POLAR2GRID_ENV_LOADED}" != "${METADATA_CHECKSUM}" ]]; then
echo "${P2G_CONDA_BASE}" > "${install_signal}"
fi

# Add bundle scripts so they have priority over Python package-installed scripts
export PATH="${POLAR2GRID_HOME}/bin:${PATH}"

# Point gdal utilities to the proper data location
export GDAL_DATA=$P2G_CONDA_BASE/share/gdal
export SATPY_CONFIG_PATH=$POLAR2GRID_HOME/etc/polar2grid
Expand Down

0 comments on commit 9f01a40

Please sign in to comment.