Browse Source

golang: Fix handling of filenames with spaces

Closes #7127.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 6 years ago
parent
commit
081808ce69
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lang/golang/golang-package.mk

+ 2
- 0
lang/golang/golang-package.mk View File

@ -164,6 +164,8 @@ define GoPackage/Build/Configure
files=$$$$(echo "$$$$files" | grep -v '^[[:space:]]*$$$$' | sort -u) ; \
fi ; \
\
IFS=$$$$'\n' ; \
\
echo "Copying files from $(PKG_BUILD_DIR) into $(GO_PKG_BUILD_DIR)/src/$(GO_PKG)" ; \
for file in $$$$files; do \
echo $$$$file ; \


Loading…
Cancel
Save