Skip to content

Commit

Permalink
Fix update_engine_checkpoint.sh (#738)
Browse files Browse the repository at this point in the history
 * I think a string interpolation was missing
 * return is only available in functions
  • Loading branch information
fflorent authored Nov 11, 2023
1 parent c2809d8 commit 23782fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sandbox/gvisor/update_engine_checkpoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23782fd

Please sign in to comment.