GUI: Added ESLint to gulp tasks
GUI: Linted files
Fixed an error in the build script
JIRA-TASKS: ONOS-6522, ONOS-6521
Change-Id: Ie72abfe6cbe21c8946f219be6193344b67ec6dd1
diff --git a/web/gui/onos-gui-build b/web/gui/onos-gui-build
index 8f6a2cb..07dfd35 100755
--- a/web/gui/onos-gui-build
+++ b/web/gui/onos-gui-build
@@ -1,9 +1,10 @@
#!/bin/bash
+set -e
ONOS_INSTALL_LOCATION=$2
echo ${ONOS_INSTALL_LOCATION}
-export NODEJS_HOME=${ONOS_INSTALL_LOCATION}/
+export NODEJS_HOME=${ONOS_INSTALL_LOCATION}
export PATH=$NODEJS_HOME/bin:$PATH
cd $ONOS_ROOT/tools/gui