Skip to content

Commit 7db087f

Browse files
fpytlounpull[bot]
authored andcommitted
fix(ci): Use bsd-compatible cp in makefile (#11161)
Fixes build on non-Linux platforms
1 parent 4e194fa commit 7db087f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ target/%/vector.tar.gz: export PROFILE ?=$(word 2,${PAIR})
262262
target/%/vector.tar.gz: target/%/vector CARGO_HANDLES_FRESHNESS
263263
rm -rf target/scratch/vector-${TRIPLE} || true
264264
mkdir -p target/scratch/vector-${TRIPLE}/bin target/scratch/vector-${TRIPLE}/etc
265-
cp --recursive --force --verbose \
265+
cp -R -f -v \
266266
target/${TRIPLE}/${PROFILE}/vector \
267267
target/scratch/vector-${TRIPLE}/bin/vector
268-
cp --recursive --force --verbose \
268+
cp -R -f -v \
269269
README.md \
270270
LICENSE \
271271
config \
272272
target/scratch/vector-${TRIPLE}/
273-
cp --recursive --force --verbose \
273+
cp -R -f -v \
274274
distribution/systemd \
275275
target/scratch/vector-${TRIPLE}/etc/
276276
tar --create \

0 commit comments

Comments
 (0)