]> git.cworth.org Git - notmuch/commit
configure: disallow whitespace in paths, extend checks to $PWD
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 1 Sep 2019 20:09:46 +0000 (23:09 +0300)
committerDavid Bremner <david@tethera.net>
Wed, 11 Sep 2019 21:51:23 +0000 (18:51 -0300)
commite0e55c5b6fd27a96601de95cfcec2b67d8a20c76
tree7d21f9a9ced164ab92481bbd2757550b646445dc
parent9829533e92f84ff151279e5202e0420bc70a8863
configure: disallow whitespace in paths, extend checks to $PWD

Whitespace in $NOTMUCH_SRCDIR (and $PWD) may work in builds,
but definitely will not work in tests. It would be difficult
to make tests support whitespace in test filename paths -- and
fragile to maintain if done.

So it is just easier and safer to disallow whitespace there.

In case of out of tree build $NOTMUCH_SRCDIR differs from $PWD
(current directory). Extend this whitespace, and also previously
made unsafe characters check to $PWD too.
configure