Skip to content

Commit

Permalink
empty string test failing
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkisse committed Apr 25, 2024
1 parent 167b972 commit 55ebb2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Tre-SQL-Trino/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

if [ -z "$TRINO_SERVER_URL" ]; then
if [[ -z "$TRINO_SERVER_URL" ]]; then
export TRINO_SERVER_URL="http://192.168.70.92:8090"
fi

if [ -z "$LOCATION" ]; then
export LOCATION="/data"
if [[ -z "$LOCATION" ]]; then
export LOCATION="/data/result.csv"
fi

# Check if required environment variables are provided
Expand Down

0 comments on commit 55ebb2c

Please sign in to comment.