Skip to content

Commit

Permalink
fix(ci): Use bsd-compatible cp in makefile (#11161)
Browse files Browse the repository at this point in the history
Fixes build on non-Linux platforms
  • Loading branch information
fpytloun authored and pull[bot] committed Jan 30, 2024
1 parent 4e194fa commit 7db087f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,15 @@ target/%/vector.tar.gz: export PROFILE ?=$(word 2,${PAIR})
target/%/vector.tar.gz: target/%/vector CARGO_HANDLES_FRESHNESS
rm -rf target/scratch/vector-${TRIPLE} || true
mkdir -p target/scratch/vector-${TRIPLE}/bin target/scratch/vector-${TRIPLE}/etc
cp --recursive --force --verbose \
cp -R -f -v \
target/${TRIPLE}/${PROFILE}/vector \
target/scratch/vector-${TRIPLE}/bin/vector
cp --recursive --force --verbose \
cp -R -f -v \
README.md \
LICENSE \
config \
target/scratch/vector-${TRIPLE}/
cp --recursive --force --verbose \
cp -R -f -v \
distribution/systemd \
target/scratch/vector-${TRIPLE}/etc/
tar --create \
Expand Down

0 comments on commit 7db087f

Please sign in to comment.