From 80b6341f18f6bdbd4c9b00d8049fb5238c1c5d54 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Mon, 27 Apr 2020 17:23:55 +0200
Subject: [PATCH] Install mode check.

---
 install.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/install.sh b/install.sh
index b5c9c67..b91f8bc 100755
--- a/install.sh
+++ b/install.sh
@@ -2,12 +2,11 @@
 mode="dev"
 
 
-if [ -n "$2" ]; then
-	if [[ $1 =~ ^(prod)$ ]]; then 
-  		mode=$1 
-	fi
+if [[ $* =~ ^(prod)$ ]]; then 
+    mode=$1 
 fi
 
+
 if [ $mode == "dev" ]; then
     echo "[Installing AURA ENGINE for Development]"
 fi
-- 
GitLab