From 6b23dd47e290a654f6a1cfb8467224a58a1d6c8c Mon Sep 17 00:00:00 2001 From: f Date: Sat, 5 Feb 2022 17:54:42 -0300 Subject: [PATCH] ignore previously failed gems --- bulk-compiler.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bulk-compiler.sh b/bulk-compiler.sh index 8552126..fe8f40d 100755 --- a/bulk-compiler.sh +++ b/bulk-compiler.sh @@ -13,6 +13,10 @@ find build/ -type f | while read BUILD BUILT GEM_NAME GEM_VERSION; do test -f "${BUILT}" && continue + FAILED="failed/${ALPINE_VERSION}/${GEM_NAME}/${GEM_VERSION}" + + test -f "${FAILED}" && continue + unset EXTRA_PKGS EXTRA_GEMS GEM_COMPILER_FLAGS source "${BUILD}" @@ -29,7 +33,7 @@ find build/ -type f | /usr/local/bin/bootstrap || true if test $? -ne 0 ; then - BUILT="failed/${ALPINE_VERSION}/${GEM_NAME}/${GEM_VERSION}" + BUILT="${FAILED}" fi dirname "${BUILT}" | xargs mkdir -p