13 lines
255 B
Bash
Executable File
13 lines
255 B
Bash
Executable File
#!/bin/sh
|
|
set -f
|
|
|
|
while [ -n "${ENVSUBST_ARGS}" ] ; do
|
|
[ -f "${ENVSUBST_ARGS}" ] || break
|
|
[ -s "${ENVSUBST_ARGS}" ] || break
|
|
|
|
exec envsubst "$(cat "${ENVSUBST_ARGS}" </dev/null)" "$@"
|
|
exit 126
|
|
done
|
|
|
|
exec envsubst "$(envsubst-args.sh </dev/null)" "$@"
|