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