diff --git a/setupenv.bashrc b/setupenv.bashrc index e1a92a3..893b4b9 100644 --- a/setupenv.bashrc +++ b/setupenv.bashrc @@ -18,6 +18,11 @@ echo ">>> Loading shell environment for FOSS-VG development..." PROJECT_BASE_DIR="$( cd -- "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 ; pwd -P )" echo "Project base directory is $PROJECT_BASE_DIR" +if [ -f "$PROJECT_BASE_DIR/.localenv.bashrc" ]; then + source "$PROJECT_BASE_DIR/.localenv.bashrc" + echo "Applied local environment customizations." +fi + alias clean="pushd \"$PROJECT_BASE_DIR\" >/dev/null 2>&1; scripts/clean.sh; popd >/dev/null 2>&1" alias clean_dependencies="pushd \"$PROJECT_BASE_DIR\" >/dev/null 2>&1; scripts/clean_dependencies.sh; popd >/dev/null 2>&1" alias setup_project="pushd \"$PROJECT_BASE_DIR\" >/dev/null 2>&1; scripts/setup_project.sh; popd >/dev/null 2>&1" @@ -46,11 +51,6 @@ else fi echo "LD_LIBRARY_PATH is $LD_LIBRARY_PATH" -if [ -f "$PROJECT_BASE_DIR/.localenv.bashrc" ]; then - source "$PROJECT_BASE_DIR/.localenv.bashrc" - echo "Loaded local environment customizations." -fi - echo ">>> Checking for dependencies..." MISSING_DEPS=0