diff options
| author | mjkwiatkowski <mati.rewa@gmail.com> | 2026-02-16 15:18:21 +0100 |
|---|---|---|
| committer | mjkwiatkowski <mati.rewa@gmail.com> | 2026-02-16 15:18:21 +0100 |
| commit | 2f16cb0f48eca4453e3e894b3d45a3aa09e6dcc0 (patch) | |
| tree | 672d98baa2ac071f2c30de06d613254d0d8cd105 /opendc-web/opendc-web-ui/scripts | |
| parent | 86d35fcec83057e346e4982b5a6908f25342a392 (diff) | |
Diffstat (limited to 'opendc-web/opendc-web-ui/scripts')
| -rwxr-xr-x | opendc-web/opendc-web-ui/scripts/envsubst.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/opendc-web/opendc-web-ui/scripts/envsubst.sh b/opendc-web/opendc-web-ui/scripts/envsubst.sh deleted file mode 100755 index afc976ed..00000000 --- a/opendc-web/opendc-web-ui/scripts/envsubst.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -auto_envsubst() { - input_path="build/next.template" - output_path="build/next" - - cp -r "$input_path" "$output_path" - find "$output_path" -type f -name '*.js' -exec perl -pi -e 's/%%(NEXT_PUBLIC_[_A-Z0-9]+)%%/$ENV{$1}/g' {} \; -} - -auto_envsubst -exit 0 |
