diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-02-13 02:45:36 -0500 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-08-09 19:41:52 +0200 |
commit | 8dbf95cdd4858cccf43f7f176b44a0c1121df07b (patch) | |
tree | cf628e82185c525d381be8caceea20b593f7d087 /.gitignore | |
parent | 46d614d91a90a60839280060f736dc3be8445502 (diff) | |
download | devtools32-8dbf95cdd4858cccf43f7f176b44a0c1121df07b.tar.xz |
makechrootpkg: check truthiness using shell arithmetic
Using the literal strings "true" and "false" is inaccurate and may
result in uncertainty of whether it is set when doing string comparison,
or simply rely on the shell implementation of treating the string as a
command builtin, then executing the value as a shell command. Emulate
makepkg, which makes heavy use of shell arithmetic for this purpose.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions