aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2026-01-06 18:21:03 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2026-01-06 18:21:03 -0500
commit38f9f165823b6f28af49f22dc7e5b3d9d698aa72 (patch)
tree3eeef21971e0a368b405da8d177596ccf5ff50de /compile
parent8e8f9df5f50a7a178673b15a9ce250152a2ea0e2 (diff)
parent59b336dfc41aeda084b79b19705b8b6daea4e8c1 (diff)
downloaddotfiles-38f9f165823b6f28af49f22dc7e5b3d9d698aa72.tar.gz
dotfiles-38f9f165823b6f28af49f22dc7e5b3d9d698aa72.tar.xz
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'compile')
-rwxr-xr-xcompile/pm.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/compile/pm.sh b/compile/pm.sh
new file mode 100755
index 0000000..04f035d
--- /dev/null
+++ b/compile/pm.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+if [ "$(id -u)" -eq 0 ] ; then
+ echo "Run as a regular user"
+ exit 1
+fi
+set -ex
+codedir="${CODEDIR:-$HOME/scm}"
+pmdir="${codedir}/pm"
+if ! [ -d "$pmdir" ] ; then
+ git clone https://git.riedstra.dev/mitch/pm "$pmdir"
+fi
+cd "$pmdir"
+make PREFIX="$HOME/.local" install
+cd -