update OS for macos
authorAJ ONeal <aj@therootcompany.com>
Wed, 29 Apr 2020 20:00:57 +0000 (20:00 +0000)
committerAJ ONeal <aj@therootcompany.com>
Wed, 29 Apr 2020 20:01:02 +0000 (20:01 +0000)
node/node.bash

index 13d379d0be1e28cfbfdf666ecabdb920ecb9d794..2799e04ab13325ecca311e005ece7606f9b6d1e6 100644 (file)
@@ -78,6 +78,10 @@ NODE_OS="$(echo $WEBI_TAB | cut -d ',' -f 5)"
 #########
 
 # WEBI_ARCH uses only slightly different names from NODE_ARCH
+NODE_OS="$(echo $WEBI_TAB | cut -d ',' -f 5)"
+if [ "macos" == "$NODE_OS" ]; then
+  NODE_OS="darwin"
+fi
 NODE_ARCH="$(echo $WEBI_TAB | cut -d ',' -f 6)"
 if [ "amd64" == "$NODE_ARCH" ]; then
   NODE_ARCH="x64"