1
0
mirror of https://git.envs.net/envs/ifconfig synced 2024-11-26 06:33:46 +01:00

(*)fixed commit prebuilt branch

This commit is contained in:
Fan Yang 2015-01-10 13:57:23 +08:00
parent 3501dca615
commit 02871e640d

@ -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