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 <bashton@brennanashton.com>
This commit is contained in:
parent
13c0debec7
commit
e56a7146c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user