mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
11 lines
273 B
Bash
Executable File
11 lines
273 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Ideally I would use stdin with source, but in older bash versions this
|
|
# wasn't supported properly.
|
|
TEMP_ENV_FILE=`mktemp /tmp/redash_env.XXXXXX`
|
|
sed 's/^REDASH/export REDASH/' .env > $TEMP_ENV_FILE
|
|
source $TEMP_ENV_FILE
|
|
rm $TEMP_ENV_FILE
|
|
|
|
exec "$@"
|