tools/mod2spec.sh
author Kim Alvefur <zash@zash.se>
Sun, 24 Mar 2024 21:32:00 +0100
changeset 13468 2dbc169aae6a
parent 13259 df96af198222
permissions -rwxr-xr-x
util.startup: Abort before initialization of logging when started as root Prevents creation of log files owned by the root user which could be inaccessible once started correctly.

#!/bin/bash
set -eu

echo "spec/${1//./_}_spec.lua"