Waits in case envsubst takes a second to finish
This commit is contained in:
parent
42b1fcd02c
commit
a79515caa6
|
@ -47,6 +47,8 @@ if [[ -z $3 ]]; then
|
|||
# Execute all other commands with parameters
|
||||
exit 0
|
||||
else
|
||||
# Wait a second in case envsubst needs more time
|
||||
sleep 1
|
||||
sed -i -e 's@<base href\=\"\/\">@<base href\=\"'"$BASE_HREF"'\">@' "$3"
|
||||
|
||||
# Execute all other commands with parameters
|
||||
|
|
Loading…
Reference in New Issue