bin/scdoc@40419d8e3cbb
bin/scdoc
Sat, 08 Apr 2023 14:07:39 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sat, 08 Apr 2023 14:07:39 -0500
- changeset 1101
- 40419d8e3cbb
- parent 1006
-
12d7a48cef22
- permissions
- -rwxr-xr-x
cleanup
#!/bin/sh
set -eu
age_limit=180
install_it() {
local scratch="$(mktemp -d)"
trap 'rm -rf -- "$scratch"' EXIT
git clone --depth=1 "https://git.sr.ht/~sircmpwn/scdoc" "$scratch"
make -C "$scratch" install PREFIX="$HOME/.local"
rm -rf -- "$scratch"
asdf reshim || :
}
. ~/.lib/sh/stubexec.sh