diff options
author | tv <tv@krebsco.de> | 2022-12-06 19:18:45 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-06 20:11:03 +0100 |
commit | bc8e72f292652cf8381870c892c81b92736086e7 (patch) | |
tree | fe4acce586a9cbf89cab1f3b1175d2e8e1388b59 | |
parent | a865757360c3f1b8e0a709ee4ae1ecf65efae65c (diff) |
-rwxr-xr-x | htgen | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,7 +23,8 @@ case $action in serve) HTGEN_HOST=${HTGEN_HOST-0.0.0.0} HTGEN_PORT=${HTGEN_PORT-42380} - HTGEN_SCRIPT=${HTGEN_SCRIPT-:} + HTGEN_SCRIPT=${HTGEN_SCRIPT-:}; export HTGEN_SCRIPT + HTGEN_SCRIPT_FILE=${HTGEN_SCRIPT_FILE-/dev/null}; export HTGEN_SCRIPT_FILE HTGEN_VERBOSE=$verbose; export HTGEN_VERBOSE TCPSERVER_OPTS='-c 423 -t 2 -D' if test "$HTGEN_VERBOSE" = true; then @@ -117,5 +118,6 @@ fi ## }}} eval "$HTGEN_SCRIPT" +. "$HTGEN_SCRIPT_FILE" reply_404 |