From 61283256960867fedfc41c3efc7394bd4e585b05 Mon Sep 17 00:00:00 2001 From: Azareal Date: Thu, 11 Apr 2019 16:19:00 +1000 Subject: [PATCH] Update ./install-linux to use the correct path to the installer. --- install-docker | 10 +++++----- install-linux | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install-docker b/install-docker index 08061d69..3fd5e6cb 100644 --- a/install-docker +++ b/install-docker @@ -1,7 +1,7 @@ -cd ./install -go generate -go build -o Installer -mv ./Installer .. -cd .. +go get -u github.com/mailru/easyjson/... +easyjson -pkg common +go get + +go build -o Installer "./cmd/install" ./Installer --dbType=mysql --dbHost=localhost --dbUser=$MYSQL_USER --dbPassword=$MYSQL_PASSWORD --dbName=$MYSQL_DATABASE --shortSiteName=$SITE_SHORT_NAME --siteName=$SITE_NAME --siteURL=$SITE_URL --serverPort=$SERVER_PORT--secureServerPort=$SECURE_SERVER_PORT \ No newline at end of file diff --git a/install-linux b/install-linux index ecf503e3..2c4362b7 100644 --- a/install-linux +++ b/install-linux @@ -4,7 +4,7 @@ easyjson -pkg common go get echo "Building the installer" -go build -o Installer "./install" +go build -o Installer "./cmd/install" echo "Running the installer" ./Installer