setupenv: Move sourcing the local environment before FOSS-VG environment adjustments
parent
150ce826ba
commit
9abfd9e5a9
|
@ -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 )"
|
PROJECT_BASE_DIR="$( cd -- "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 ; pwd -P )"
|
||||||
echo "Project base directory is $PROJECT_BASE_DIR"
|
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="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 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"
|
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
|
fi
|
||||||
echo "LD_LIBRARY_PATH is $LD_LIBRARY_PATH"
|
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..."
|
echo ">>> Checking for dependencies..."
|
||||||
MISSING_DEPS=0
|
MISSING_DEPS=0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue