release: restore ZUPT and harden source-only 5.2.2

This commit is contained in:
Cristian Cezar Moisés 2026-08-31 14:14:36 -03:00
commit ff99770bd0
205 changed files with 19627 additions and 13215 deletions

View file

@ -5,7 +5,11 @@
# Bug #15 (v2.2.2): options after the positional archive argument were
# silently dropped. e.g. `zupt x arch.zupt -o out` ignored `-o out`.
ZUPT_BIN="$(realpath ./zupt)"
ZUPT_BIN=${1:-./zupt}
case $ZUPT_BIN in
/*) ;;
*) ZUPT_BIN=$PWD/${ZUPT_BIN#./} ;;
esac
TMPDIR=$(mktemp -d)
trap "rm -rf $TMPDIR" EXIT
cd "$TMPDIR"