1
0
mirror of https://git.envs.net/envs/ifconfig synced 2024-11-23 04:11:58 +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//'` SRCFILENAME=`echo $@ | sed 's/\.go//'`
CURDIRNAME=${PWD##*/} CURDIRNAME=${PWD##*/}
OUTPUT=${SRCFILENAME:-$CURDIRNAME} # if no src file given, use current dir name 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" echo "$CMD"
$CMD || FAILURES="$FAILURES $PLATFORM" $CMD || FAILURES="$FAILURES $PLATFORM"
done done