.lib/stubs/cpm

Fri, 05 May 2023 13:12:54 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 05 May 2023 13:12:54 -0500
changeset 1110
e4edb1419e3f
parent 1107
c6d7ac40bd3c
permissions
-rwxr-xr-x

factor out bina install

915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
957
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
4 install_it() {
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
5 curl -fsSL --compressed https://git.io/cpm |
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
6 perl - install -g App::cpm
915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7
970
498189926551 remove plenv references
Meredith Howard <mhoward@roomag.org>
parents: 957
diff changeset
8 asdf reshim perl || :
957
ea852d545173 improve stubexec
Meredith Howard <mhoward@roomag.org>
parents: 932
diff changeset
9 }
915
55a1c83b3417 spin out stubexec
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
992
4e3e37ce84bc Switch stubexec to self-invoke
Meredith Howard <mhoward@roomag.org>
parents: 970
diff changeset
11 . ~/.lib/sh/stubexec.sh

mercurial