X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=set-path;fp=set-path;h=43ff756da1a3d25a7ba294b5c7fd734edcadc763;hb=a3bdba992715f6282e112e06a2beee15d20b69ca;hp=0000000000000000000000000000000000000000;hpb=556fb077f2d174449a852fc64f2b32ee8e471482;p=bookmarks_db.git diff --git a/set-path b/set-path new file mode 100644 index 0000000..43ff756 --- /dev/null +++ b/set-path @@ -0,0 +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