yeah, that's better

This commit is contained in:
Dan Buch 2012-05-30 07:43:48 -04:00
parent f5902e699f
commit 1b7a8b2e9b

View File

@ -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"