(*)fixed commit prebuilt branch

This commit is contained in:
Fan Yang 2015-01-10 13:57:23 +08:00
parent 3501dca615
commit 02871e640d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ function go-build-all {
SRCFILENAME=`echo $@ | sed 's/\.go//'`
CURDIRNAME=${PWD##*/}
OUTPUT=${SRCFILENAME:-$CURDIRNAME} # if no src file given, use current dir name
CMD="go-${GOOS}-${GOARCH} build -o ../prebuilt/$OUTPUT-${GOOS}-${GOARCH} $@"
CMD="go-${GOOS}-${GOARCH} build -o ./prebuilt/$OUTPUT-${GOOS}-${GOARCH} $@"
echo "$CMD"
$CMD || FAILURES="$FAILURES $PLATFORM"
done