mirror of
https://git.envs.net/envs/ifconfig
synced 2024-11-22 09:51:57 +01:00
(*)fixed commit prebuilt branch
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user