]> git.phdru.name Git - audio-cdr-video.git/blobdiff - set-path
Micro refactoring
[audio-cdr-video.git] / set-path
index 43ff756da1a3d25a7ba294b5c7fd734edcadc763..1f7499ceec0881fa3a36f388d2eabae9abd54385 100644 (file)
--- a/set-path
+++ b/set-path
@@ -2,7 +2,7 @@ START_DIR="`pwd`"
 cd "`dirname \"$0\"`"
 CWD="`pwd`"
 cd "$START_DIR"
-if echo "$PATH" | grep -vq "\(^\|:\)$CWD\(:\|$\)"; then
+if echo "$PATH" | grep -qv "\(^\|:\)$CWD\(:\|$\)"; then
    PATH="$CWD:$PATH"
 fi
 START_DIR=''