X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=set-path;h=563250487b362bf8946881703f3a88f596234c19;hb=670ada11fdc76b1b83e8baf9a13e0ad2f154425d;hp=04dc7c55cc45843052e25db6564c9d115817a3da;hpb=80edd25c5eeeef4dee8d86c90d2fe931adb80467;p=audio-cdr-video.git diff --git a/set-path b/set-path index 04dc7c5..5632504 100644 --- a/set-path +++ b/set-path @@ -1,4 +1,7 @@ +START_DIR="`pwd`" +cd "`dirname \"$0\"`" CWD="`pwd`" +cd "$START_DIR" if echo "$PATH" | grep -vq "\(^\|:\)$CWD\(:\|$\)"; then PATH="$CWD:$PATH" fi