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