]> git.phdru.name Git - audio-cdr-video.git/blobdiff - set-path
Fix path to set-path
[audio-cdr-video.git] / set-path
index 04dc7c55cc45843052e25db6564c9d115817a3da..43ff756da1a3d25a7ba294b5c7fd734edcadc763 100644 (file)
--- 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