feat: add file paths to debug-info

This commit is contained in:
Daylin Morgan 2023-11-28 12:43:42 -06:00
parent 683734abba
commit b23fb6732e
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -8,11 +8,18 @@ divider() {
} }
show-version() { show-version() {
printf "%s %s %s\n" "$(divider)" "$1" "$(divider)" printf "%s %s %s\n" "$(divider)" "$1" "$(divider)"
which "$1" which "$1" 2>/dev/null
"$@" "$@"
} }
show-dir() {
dir="$( dirname -- "$( readlink -f -- "$0"; )"; )"/../"$1"
printf "%s\n%s\n%s\n" "$(divider)" "$(tree "$dir")" "$(divider)"
}
show-version python --version show-version python --version
show-version fontforge --version show-version fontforge --version
show-version docker --version show-version docker --version
show-version uname -a show-version uname -a
show-dir MonoLisa
show-dir patched