]> git.phdru.name Git - audio-cdr-video.git/blob - set-path
Get full path using cd/pwd and then cd back
[audio-cdr-video.git] / set-path
1 START_DIR="`pwd`"
2 cd "`dirname \"$0\"`"
3 CWD="`pwd`"
4 cd "$START_DIR"
5 if echo "$PATH" | grep -vq "\(^\|:\)$CWD\(:\|$\)"; then
6    PATH="$CWD:$PATH"
7 fi