guess ostype isnt always set

Mon, 19 Sep 2016 21:58:02 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 19 Sep 2016 21:58:02 -0400
changeset 392
50353728ea83
parent 391
86f3317d4d34
child 393
4f3ba212f501

guess ostype isnt always set

bin/setup-neomutt file | annotate | diff | comparison | revisions
--- a/bin/setup-neomutt
+++ b/bin/setup-neomutt
@@ -16,7 +16,7 @@ fi
 
 cd sandbox/neomutt
 
-case "$OSTYPE" in
+case "${OSTYPE:-}" in
   darwin*)
     # Use macports' headers
     OPENSSL_PREFIX=/opt/local

mercurial