summaryrefslogtreecommitdiffstats
path: root/scripts/build_freebsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build_freebsd.sh')
-rwxr-xr-xscripts/build_freebsd.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build_freebsd.sh b/scripts/build_freebsd.sh
index b53c6ac0d5..2c995bae21 100755
--- a/scripts/build_freebsd.sh
+++ b/scripts/build_freebsd.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
outPlattform=freebsd
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/