summaryrefslogtreecommitdiffstats
path: root/scripts/build_linux64.sh
diff options
context:
space:
mode:
authorMatthias Loibl <mail@matthiasloibl.com>2016-11-04 13:49:10 +0100
committerMatthias Loibl <mail@matthiasloibl.com>2016-11-04 13:49:10 +0100
commitf01d927efbd1bcbb6c9312281c3c16179360b084 (patch)
treec1b28b79238aab09d05cc860983558e1e02b18cd /scripts/build_linux64.sh
parenta2514904cba3c89630fd76af38f672379d7c3326 (diff)
downloadgitea-f01d927efbd1bcbb6c9312281c3c16179360b084.tar.gz
gitea-f01d927efbd1bcbb6c9312281c3c16179360b084.zip
Rename all occurrences of gogs.go
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
Diffstat (limited to 'scripts/build_linux64.sh')
-rwxr-xr-xscripts/build_linux64.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build_linux64.sh b/scripts/build_linux64.sh
index 528fc54cf0..6a3bdb65bc 100755
--- a/scripts/build_linux64.sh
+++ b/scripts/build_linux64.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
outPlattform=linux
outArch=amd64
outPath=./output_$outPlattform_$outArch
@@ -5,7 +6,7 @@ outPath=./output_$outPlattform_$outArch
rm -rf $outPath
mkdir $outPath
-CGO_ENABLED=0 GOOS=$outPlattform GOARCH=$outArch go build ../gogs.go
+CGO_ENABLED=0 GOOS=$outPlattform GOARCH=$outArch go build ../main.go -o gitea
chmod +x gogs
mv gogs $outPath/
@@ -24,4 +25,4 @@ cp ../README_ZH.md $outPath/
cp start.bat $outPath/
cp start.sh $outPath/
cp ../wercker.yml $outPath/
-cp mysql.sql $outPath/ \ No newline at end of file
+cp mysql.sql $outPath/