summaryrefslogtreecommitdiffstats
path: root/checkpkg.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-02-13 08:45:36 +0100
committerLevente Polyak <anthraxx@archlinux.org>2019-08-09 19:41:52 +0200
commit8dbf95cdd4858cccf43f7f176b44a0c1121df07b (patch)
treecf628e82185c525d381be8caceea20b593f7d087 /checkpkg.in
parent46d614d91a90a60839280060f736dc3be8445502 (diff)
downloaddevtools-8dbf95cdd4858cccf43f7f176b44a0c1121df07b.tar.gz
devtools-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 'checkpkg.in')
0 files changed, 0 insertions, 0 deletions