Files
linux-workspace/bashrc
Martin Blazik d37b8677b6 Fix WORKSPACE path
Link to full (not relative) path
2020-09-14 12:31:18 +02:00

15 lines
276 B
Bash

if [[ $0 != $BASH_SOURCE ]]; then
WORKSPACE_PATH=$(realpath $BASH_SOURCE)
export WORKSPACE=$(dirname $WORKSPACE_PATH)
for rc_file in $WORKSPACE/rc/*.rc; do
source $rc_file
done
PATH=$($WORKSPACE/bin/path-uniq.py $WORKSPACE/bin)
else
echo "not sourced"
fi