support/dependencies: check PATH does not carry a \n
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 20 May 2017 08:20:05 +0000 (10:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Jun 2017 19:40:32 +0000 (21:40 +0200)
commitf00d6ec67bd6fed6ff8fd322d60d026ec87d8a6e
treeb8602f30d7784f94e9eec29f7fa9bddc82f8e13b
parent4cb4ab5cf99fe0b3a067fc89104f94c2d382da02
support/dependencies: check PATH does not carry a \n

... otherwise it fails spectacularly as soon as PATH is referenced in a
package rule (i.e. very soon, fortunately):

    >>> host-lzip 1.18 Downloading
    /bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
    /bin/bash: -c: line 1: syntax error: unexpected end of file

Fixes # 9886.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ciro Santilli <ciro.santilli@gmail.com>
[Thomas: fix typo in message, use tabs for indentation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/dependencies/dependencies.sh