Fix update_engine_checkpoint.sh (#738)

* I think a string interpolation was missing
 * return is only available in functions
This commit is contained in:
Florent 2023-11-11 01:03:27 +01:00 committed by GitHub
parent c2809d8b1d
commit 23782fda0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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