aboutsummaryrefslogtreecommitdiff
path: root/distro/netbsd.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2025-12-26 11:55:21 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2025-12-26 11:55:21 -0500
commite223ea0a045f1e086e0780f7c1778a94bce92ad6 (patch)
tree39983b748e0c98e7a4c137ffffedea9c5df779d7 /distro/netbsd.sh
parent9cd1e4f16131c41f2b16637ced9fd184573a7102 (diff)
downloaddotfiles-e223ea0a045f1e086e0780f7c1778a94bce92ad6.tar.gz
dotfiles-e223ea0a045f1e086e0780f7c1778a94bce92ad6.tar.xz
Some tweaks and updates to dotfiles
Diffstat (limited to 'distro/netbsd.sh')
-rwxr-xr-xdistro/netbsd.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/distro/netbsd.sh b/distro/netbsd.sh
index 8abc573..31db68b 100755
--- a/distro/netbsd.sh
+++ b/distro/netbsd.sh
@@ -1,5 +1,6 @@
#!/bin/sh
set -ex
+codedir="${CODEDIR:-$HOME/scm}"
if [ "$(id -u)" -eq 0 ] ; then
@@ -46,8 +47,8 @@ cd "$HOME"
for pkg in dwm st dmenu ; do
- mkdir -p scm/x/$pkg
- cd scm/x/$pkg
+ mkdir -p "$codedir"/$pkg
+ cd "$codedir"/$pkg
! [ -d .git ] && git clone -b netbsd https://git.riedstra.dev/x/$pkg .
make