(*)fixed output directory

This commit is contained in:
Fan Yang 2015-01-10 11:55:09 +08:00
parent 4c5bf57011
commit 7e9a313231
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 $OUTPUT-${GOOS}-${GOARCH} $@"
CMD="go-${GOOS}-${GOARCH} build -o ../prebuilt/$OUTPUT-${GOOS}-${GOARCH} $@"
echo "$CMD"
$CMD || FAILURES="$FAILURES $PLATFORM"
done