7 local scratch="$(mktemp -d)" |
7 local scratch="$(mktemp -d)" |
8 trap 'rm -rf -- "$scratch"' EXIT |
8 trap 'rm -rf -- "$scratch"' EXIT |
9 git clone --depth=1 "https://git.sr.ht/~sircmpwn/scdoc" "$scratch" |
9 git clone --depth=1 "https://git.sr.ht/~sircmpwn/scdoc" "$scratch" |
10 make -C "$scratch" install PREFIX="$HOME/.local" |
10 make -C "$scratch" install PREFIX="$HOME/.local" |
11 rm -rf -- "$scratch" |
11 rm -rf -- "$scratch" |
12 asdf reshim || : |
|
13 } |
12 } |
14 |
13 |
15 . ~/.lib/sh/stubexec.sh |
14 . ~/.lib/sh/stubexec.sh |