monolisa-nerdfont-patch/bin/get-debug-info

26 lines
487 B
Text
Raw Normal View History

#!/usr/bin/env bash
divider() {
N=10
for ((i = 0; i < N; ++i)); do
printf '-'
done
}
show-version() {
printf "%s %s %s\n" "$(divider)" "$1" "$(divider)"
2023-11-28 12:43:42 -06:00
which "$1" 2>/dev/null
"$@"
}
2023-11-28 12:43:42 -06:00
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 fontforge --version
show-version docker --version
show-version uname -a
2023-11-28 12:43:42 -06:00
show-dir MonoLisa
show-dir patched