dot/bash_profile (__mdw_addto) SECURITY: Only set var if it changed.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 18 Jan 2010 14:45:04 +0000 (14:45 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 18 Jan 2010 14:45:04 +0000 (14:45 +0000)
commit85d3810bff9add23ef3bd9e30b02821b3e6b9279
tree474b851e09b1f1188f5f566124b0ab32d59b0106
parent59a62625414f72f916e8673674d8cb3b379dfaee
dot/bash_profile (__mdw_addto) SECURITY: Only set var if it changed.

If this isn't done, we end up with empty variables where previously they
were unset.  This is especially bad for PYTHONPATH, which will pick
`site.py' out of the current directory.
dot/bash_profile