Commit graph

5 commits

Author SHA1 Message Date
Petr Bokoc
5017dc09f0 Update build script 2021-08-27 05:40:27 +02:00
Kevin Locke
7ed450f0c4 Quote command substitution which may have spaces
If $(pwd) or $(uname -s) contain spaces, their output will undergo word
splitting and be passed as multiple arguments, which would cause the
programs receiving them to misbehave.  Avoid this by quoting.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-07-28 18:01:38 +00:00
Kevin Locke
9c1c2c7394 Replace test == operator with =
The == operator of test (invoked as [) is a Bash extension.
Use the = operator of [POSIX test] for string equality.

[POSIX test]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2020-07-28 18:01:38 +00:00
Petr Bokoc
d79e80c56f Update build scripts 2019-03-22 14:37:32 +01:00
Adam Samalik
cf5acc8f3a switch to Antora part 2018-07-27 18:53:34 +02:00