packaging/visualizations.sh: Made compatible with Linux too #99
Merged
rand
merged 2 commits from 20220321_fixed_visualizations.sh_for_Linux
into main
10 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch '20220321_fixed_visualizations.sh_for_Linux'
Deleting a branch is permanent. It CANNOT be undone. Continue?
What to do in the
else
branch? Fail or default toLinux
?elif [ "$(uname)" = "FreeBSD" ]; then
mktemp -t "$1"
else
mktemp -t "$1.XXX" #< todo what to choose here
I'd be in favour to fail hard. "echo 'unsupported platform' ; exit 1"
elif [ "$(uname)" = "FreeBSD" ]; then
stat -f "%z" "$1"
else
stat -c "%s" "$1" #< todo what to choose here
again, fail hard.
c82e94805e
into main 10 months agoc82e94805e
.