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