From b343a7b3cdcb7727a4b0ee74457da84b4456455c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bojan=20=C4=8Cekrli=C4=87?= Date: Fri, 27 Oct 2023 12:27:13 +0200 Subject: [PATCH] Fix: Return from trying to build pandoc if install is successful --- build-scripts/sasl-build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-scripts/sasl-build.sh b/build-scripts/sasl-build.sh index 1ed22d3..ed6413e 100644 --- a/build-scripts/sasl-build.sh +++ b/build-scripts/sasl-build.sh @@ -12,6 +12,11 @@ build_pandoc() { CAN_INSTALL=0 fi fi + + if [ "${CAN_INSTALL}" -eq "1" ; then + return + fi + if [ -f /etc/alpine-release ]; then apk add --upgrade cabal curl llvm else