Commit a3233875 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Be accurate when adding to PATH.

parent b591784c
......@@ -8,5 +8,5 @@ UpdatePATH() {
echo You forgot to set your PATH_CMD. Aborting...
exit 1
fi
grep "${PATH_CMD}" ${TASTE_PATHS} >/dev/null || echo "${PATH_CMD}" >> ${TASTE_PATHS}
grep "${PATH_CMD}$" ${TASTE_PATHS} >/dev/null || echo "${PATH_CMD}" >> ${TASTE_PATHS}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment