From 671e9ccb1c6b36439a18503dea7779266a3aa91f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 19 Aug 2017 22:36:09 -0400 Subject: [PATCH] script fixes --- build.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index bbb1e48fe9..4a335ad71b 100644 --- a/build.sh +++ b/build.sh @@ -1,16 +1,19 @@ #!/usr/bin/env bash set -e -DIR="$(dirname $(readlink -f $0))" +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -echo -e "\n# Building Web" +echo "" +echo "# Building Web" -echo -e "\nBuilding app" -echo -e "npm version $(npm --version)" -echo -e "gulp version $(gulp --version)" +echo "" +echo "Building app" +echo "npm version $(npm --version)" +echo "gulp version $(gulp --version)" npm install gulp dist:selfHosted -echo -e "\nBuilding docker image" +echo "" +echo "Building docker image" docker --version docker build -t bitwarden/web $DIR/.