prepend PATH instead of appending
This commit is contained in:
parent
8b0f506f0b
commit
ffc77f8a9c
|
@ -43,6 +43,6 @@ for x in \
|
|||
[ -d "$x" ] || continue
|
||||
case ":${PATH}:" in
|
||||
*":${x}:"*) ;;
|
||||
*) PATH="${PATH:+$PATH:}${x}" ;;
|
||||
*) PATH="${x:+$x:}${PATH}" ;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue