Merged with visualizations.sh fixes

This commit is contained in:
rand00 2022-03-23 20:55:38 +01:00
commit edcfa1c8ce

View file

@ -84,7 +84,7 @@ mktemp_aux () {
elif [ "$(uname)" = "FreeBSD" ]; then
mktemp -t "$1"
else
mktemp -t "$1.XXX" #< Defaulting to same as Linux
echo 'Unsupported platform'; exit 1
fi
}
TMPTREE=$(mktemp_aux treeviz)
@ -109,7 +109,7 @@ stat_aux () {
elif [ "$(uname)" = "FreeBSD" ]; then
stat -f "%z" "$1"
else
stat -c "%s" "$1" #< Defaulting to same as Linux
echo 'Unsupported platform'; exit 1
fi
}