You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2020/10/30 06:05:41 UTC
[incubator-nuttx] 07/08: build: Fix testbuild.sh artifact copy on
macOS
This is an automated email from the ASF dual-hosted git repository.
masayuki pushed a commit to branch releases/10.0
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 68ed44cccfbd26bda6ec1403a84ed432fa258988
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Wed Oct 28 20:06:40 2020 -0700
build: Fix testbuild.sh artifact copy on macOS
xargs for macOS does not support the '-a/--file-arg' flag so
build artifacts were not getting stored. This change passes it in
via stdin which is more portable.
Signed-off-by: Brennan Ashton <ba...@brennanashton.com>
---
tools/testbuild.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testbuild.sh b/tools/testbuild.sh
index 9876111..6c3d8d8 100755
--- a/tools/testbuild.sh
+++ b/tools/testbuild.sh
@@ -258,7 +258,7 @@ function build {
if [ ${SAVEARTIFACTS} -eq 1 ]; then
artifactconfigdir=$ARTIFACTDIR/$(echo $config | sed "s/:/\//")/
mkdir -p $artifactconfigdir
- xargs -a $nuttx/nuttx.manifest cp -t $artifactconfigdir
+ xargs -I "{}" cp "{}" $artifactconfigdir < $nuttx/nuttx.manifest
fi
# Ensure defconfig in the canonical form