golang: Fix handling of filenames with spaces

Closes #7127.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To 2019-02-09 19:42:06 +08:00
parent 1d4081dd4c
commit 081808ce69
1 changed files with 2 additions and 0 deletions

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 ; \