From 50549b38d0913cd62731b8b3db1232c86496bc2c Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Mon, 25 Feb 2019 12:33:58 +0200 Subject: [PATCH] Throw on errors in installation script (#64) --- .ci/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/install.sh b/.ci/install.sh index b0348f0..9a719b0 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -1,6 +1,8 @@ #!/bin/bash -OS=$(uname -a | cut -d" " -f 1) +set -e + +OS=$(uname -s) if [ "$OS" == "Darwin" ]; then FILENAME="fnm-macos"