Skip to content

Commit

Permalink
Fix issue 19: 32-bit deb arch name should be i386.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed Sep 12, 2013
1 parent ac3abd3 commit 808754a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ build() {
popd
}

build darwin amd64 mac64 local
build linux amd64 linux64 local
build linux 386 linux32 local
build windows amd64 win64 local
build windows 386 win32 local

build linux amd64 linux64 server
build linux 386 linux32 server
#build darwin amd64 mac64 local
#build linux amd64 linux64 local
#build linux 386 linux32 local
#build windows amd64 win64 local
#build windows 386 win32 local

#build linux amd64 linux64 server
#build linux 386 linux32 server
#build darwin amd64 mac64 server
build windows amd64 win64 server
build windows 386 win32 server
#build windows amd64 win64 server
#build windows 386 win32 server

script/createdeb.sh amd64
script/createdeb.sh 386
script/createdeb.sh i386
mv shadowsocks-go_$version-1-*.deb bin/
rm -rf shadowsocks-go_$version-1*
2 changes: 1 addition & 1 deletion script/createdeb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export GOOS=linux

arch=$1
case $arch in
386)
i386)
export GOARCH=386
;;
amd64)
Expand Down

0 comments on commit 808754a

Please sign in to comment.