Fix incremental builds on linux (#6780)

scripts: fix incremental builds on linux or similar
This commit is contained in:
Daniel Hiltgen 2024-09-13 08:24:08 -07:00 committed by GitHub
parent fda0d3be52
commit 56b9af336a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,7 @@ wait_for_compress() {
install() { install() {
echo "Installing libraries to bin dir ${BUILD_DIR}/bin/" echo "Installing libraries to bin dir ${BUILD_DIR}/bin/"
for lib in $(find ${BUILD_DIR} -name \*.${LIB_EXT}); do for lib in $(find ${BUILD_DIR} -name \*.${LIB_EXT} | grep -v "${BUILD_DIR}/bin/" ); do
rm -f "${BUILD_DIR}/bin/$(basename ${lib})" rm -f "${BUILD_DIR}/bin/$(basename ${lib})"
cp -af "${lib}" "${BUILD_DIR}/bin/" cp -af "${lib}" "${BUILD_DIR}/bin/"
done done