mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
quoted paths
This commit is contained in:
parent
0e1fae92cf
commit
0cd4b8a640
2 changed files with 5 additions and 5 deletions
4
build
4
build
|
@ -42,10 +42,10 @@ buildbin() {
|
|||
local CMD=$(realpath $1)
|
||||
echo "Building: $CMD for $GOOS-$GOARCH"
|
||||
|
||||
(cd "$TARGET_PATH" && go build $ARGS -ldflags "${LDFLAGS}${LDFLAGS2}" -gcflags "$GCFLAGS" $CMD)
|
||||
(cd "$TARGET_PATH" && go build $ARGS -ldflags "${LDFLAGS}${LDFLAGS2}" -gcflags "$GCFLAGS" "$CMD")
|
||||
|
||||
if [ $UPX ]; then
|
||||
upx --brute $CMD
|
||||
upx --brute "$CMD"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue