lots: shellcheck, streaming stuff, fixes
[distro-setup] / dall
diff --git a/dall b/dall
index 3ed8d4480983282e8114d05074d43911011ef264..d054f9dacafe71315dfc60aab46771b635852bbb 100755 (executable)
--- a/dall
+++ b/dall
@@ -5,7 +5,7 @@ shopt -s inherit_errexit 2>/dev/null ||: # ignore fail in bash < 4.4
 set -eE -o pipefail
 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" exit status: $?, PIPESTATUS: ${PIPESTATUS[*]}" >&2' ERR
 
-readonly this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"
+readonly this_file; this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"
 readonly this_dir="${this_file%/*}"
 cd "$this_dir"
 ./distro-begin