From e223ea0a045f1e086e0780f7c1778a94bce92ad6 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Fri, 26 Dec 2025 11:55:21 -0500 Subject: Some tweaks and updates to dotfiles --- distro/netbsd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'distro/netbsd.sh') 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 -- cgit v1.2.3