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