mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
Fix cd
This commit is contained in:
parent
cce209d944
commit
0e1fae92cf
1 changed files with 1 additions and 1 deletions
2
build
2
build
|
@ -42,7 +42,7 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue