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 <[email protected]>
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 <[email protected]>
---
 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

Reply via email to