yeah, that's better
This commit is contained in:
parent
f5902e699f
commit
1b7a8b2e9b
@ -1,5 +1,2 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -n "$(echo "$PATH" | grep "$PWD/bin")" ]; then
|
||||
export PATH="$PWD/bin:$PATH"
|
||||
fi
|
||||
HERE=$(dirname "$1")
|
||||
(echo "$PATH" | grep "$HERE/bin" >/dev/null 2>&1) || export PATH="$HERE/bin:$PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user