summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-02-08 18:10:51 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-08 18:10:51 -0500
commitc75db8d0825ff816cb05e9e46b7017b03a6b100d (patch)
tree3b60b6a54c0e8eee532457e358ff81929a970888 /bootstrap.sh
parente1f02d2833a7de496e4c148206f421cd664f0d56 (diff)
downloadlibgd-c75db8d0825ff816cb05e9e46b7017b03a6b100d.tar.gz
scripts: clean up various shellcheck warnings
Should hopefully not break anything :).
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index fe7dd0f..9dda8cf 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -9,7 +9,7 @@ v() { echo "$@"; "$@"; }
# so that random hackers don't need it just to build the code.
v docs/naturaldocs/run_docs.sh --nonfatal
-if echo "${OSTYPE:-$(uname)}" | grep -q '^darwin' ; then
+if uname | grep -qi '^darwin' ; then
echo "Having trouble on OS X? Try: brew install autoconf libtool automake gettext pkg-config cmake"
fi