From 23782fda0df6c6fd5c0fc305fb93b7a3fcca8bc7 Mon Sep 17 00:00:00 2001 From: Florent Date: Sat, 11 Nov 2023 01:03:27 +0100 Subject: [PATCH] Fix update_engine_checkpoint.sh (#738) * I think a string interpolation was missing * return is only available in functions --- sandbox/gvisor/update_engine_checkpoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sandbox/gvisor/update_engine_checkpoint.sh b/sandbox/gvisor/update_engine_checkpoint.sh index 58621f6a..bcf9e8bf 100755 --- a/sandbox/gvisor/update_engine_checkpoint.sh +++ b/sandbox/gvisor/update_engine_checkpoint.sh @@ -21,9 +21,9 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) export NODE_PATH=_build:_build/core:_build/stubs:_build/ext source $SCRIPT_DIR/get_checkpoint_path.sh -if [[ -z "GRIST_CHECKPOINT" ]]; then +if [[ -z "$GRIST_CHECKPOINT" ]]; then echo "Skipping checkpoint generation" - return + exit 0 fi export GRIST_CHECKPOINT_MAKE=1