chiark / gitweb /
dot/profile: Fix `__mdw_addto' if variable is initially empty.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 30 May 2020 12:09:01 +0000 (13:09 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 30 May 2020 12:21:33 +0000 (13:21 +0100)
commit4c085f9edd6e9faec8938cc6b33f7f3175d35015
tree3571d5fa48cab331dfcfa6b7c6b0fb2092f95148
parent9c72b1b3ab9751e3b95e80779900a667b658af7a
dot/profile: Fix `__mdw_addto' if variable is initially empty.

Previously it would leave an empty path component, which programs tend
to interpret (unhelpfully) as the current directory.
dot/profile