mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-26 06:05:34 +01:00
7 lines
211 B
Bash
Executable File
7 lines
211 B
Bash
Executable File
#!/bin/bash
|
|
originalfile="/usr/src/app/www/js/env.js"
|
|
tmpfile=$(mktemp)
|
|
cp --attributes-only --preserve $originalfile $tmpfile
|
|
cat $originalfile | envsubst | tee $tmpfile && mv $tmpfile $originalfile
|
|
exec "$@"
|