Skip to content

Commit

Permalink
Fix some lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed May 21, 2024
1 parent 860e453 commit 3be7ff6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion renderer/_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ else
touch "${LOCKFILE}"

# Ensure the lock file is removed when we exit and when we receive signals
trap "rm -f '${LOCKFILE}'; trap - SIGTERM && kill -- -'$$'" SIGINT SIGTERM EXIT
trap 'rm -f ${LOCKFILE}; trap - SIGTERM && kill -- -$$' SIGINT SIGTERM EXIT
fi

# The local path to the tileservice repo
Expand Down
5 changes: 2 additions & 3 deletions renderer/render_seashells.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ PLANET="$WORKING_DIR/data/planet.pmtiles"
run() {
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
START_TIME=$(date +%s)
"$DIR/render_once.sh" "$WORKING_DIR"

# Check the exit status of render_once.sh
if [ $? -eq 0 ]; then
if "$DIR/render_once.sh" "$WORKING_DIR"
then
# Record the end time
END_TIME=$(date +%s)

Expand Down

0 comments on commit 3be7ff6

Please sign in to comment.