Browse Source

packaging/visualizations.sh: Failing when unsupported platform

pull/99/head
rand00 5 months ago
parent
commit
9a8f902d3c
  1. 4
      packaging/visualizations.sh

4
packaging/visualizations.sh

@ -84,7 +84,7 @@ mktemp_aux () {
elif [ "$(uname)" = "FreeBSD" ]; then
mktemp -t "$1"
else
mktemp -t "$1.XXX" #< todo what to choose here
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" #< todo what to choose here
echo 'Unsupported platform'; exit 1
fi
}

Loading…
Cancel
Save