bin/cpm

Fri, 06 May 2022 22:03:51 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 May 2022 22:03:51 -0500
changeset 992
4e3e37ce84bc
parent 970
498189926551
permissions
-rwxr-xr-x

Switch stubexec to self-invoke

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