diff options
Diffstat (limited to 'distro/netbsd.sh')
| -rwxr-xr-x | distro/netbsd.sh | 5 |
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 |
