|
From: | R. Diez |
Subject: | Re: How to detect spaces in paths |
Date: | Wed, 15 Dec 2021 22:05:20 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
I think if $(words $(PATH_TO_CHECK)) is 1, then it's OK and if it's >1 then it contains whitespace.
> [...] Brilliant, thanks for the trick!
[Prev in Thread] | Current Thread | [Next in Thread] |