Files
linux-workspace/bashrc
Martin Blazik 5279dc7e67 gw installation script
install to $GWS/opt/
2022-09-24 13:13:05 +02:00

21 lines
370 B
Bash

# Linux Workspace bashrc boostrap
WORKSPACE_BASHRC=$(realpath $BASH_SOURCE)
export WORKSPACE=$(dirname $WORKSPACE_BASHRC)
export LWS=$WORKSPACE
echo "Linux Workspace initialization"
if [[ -z $LC_ALL ]]; then
export LC_ALL=en_US.UTF-8
fi
for rc_file in $WORKSPACE/rc/*.sh; do
source $rc_file
done
append_path "$LWS/bin"
append_path "$LWS/opt/bin"
set_uniq_path