Aadd LWS to PATH
remove duplicates from PATH
This commit is contained in:
6
bashrc
6
bashrc
@@ -10,6 +10,6 @@ for rc_file in $WORKSPACE/rc/*; do
|
||||
source $rc_file
|
||||
done
|
||||
|
||||
#export PATH=$($WORKSPACE/bin/path-uniq.py $WORKSPACE/bin $WORKSPACE/opt/bin)
|
||||
export PATH=$(echo "$PATH" | tr ":" "\n" | awk '!seen[$0]++' | tr "\n" ":")
|
||||
|
||||
PATH="$PATH:$LWS/bin"
|
||||
PATH="$(uniq_path)"
|
||||
export PATH
|
||||
|
||||
Reference in New Issue
Block a user