Skip to content

Build your personal knowledge base with Trilium Notes

bin/build*: Adjust error tolerance

Elian Doranbbbbc3b860e0
diff --git a/bin/build.sh b/bin/build.sh
index 3f416dddb0..513bd11292 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -1,7 +1,5 @@
#!/usr/bin/env bash
-set -e
-
if ! command -v jq &> /dev/null; then
echo "Missing command: jq"
exit 1
@@ -42,6 +40,7 @@ cp -r $SRC_DIR ./dist/trilium-windows-x64-src
cp -r $SRC_DIR ./dist/trilium-mac-x64-src
cp -r $SRC_DIR ./dist/trilium-mac-arm64-src
+set -e
bin/build-win-x64.sh DONTCOPY
bin/build-mac-x64.sh DONTCOPY
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh
index 8affb7be31..2936a925b3 100755
--- a/bin/copy-trilium.sh
+++ b/bin/copy-trilium.sh
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
shopt -s globstar
-set -e
if [[ $# -eq 0 ]] ; then
echo "Missing argument of target directory"