From 41b0e793aaefffd903915ed5cacee8e6278e815a Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Fri, 26 Dec 2025 11:49:01 -0500 Subject: use CODEDIR --- bldSession.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'bldSession.sh') diff --git a/bldSession.sh b/bldSession.sh index e30f171..24213c6 100755 --- a/bldSession.sh +++ b/bldSession.sh @@ -1,11 +1,12 @@ #!/bin/sh set -ex -codedir="$HOME/scm/wl/wlcustom" +codedir="${CODEDIR:-$HOME/scm}" +wlcustomdir="$codedir/wlcustom" -if ! [ -d "$codedir" ] ; then - mkdir -p "$(basename "$codedir")" - git clone https://git.riedstra.dev/wl/wlcustom/ "$codedir" +if ! [ -d "$wlcustomdir" ] ; then + mkdir -p "$(basename "$wlcustomdir")" + git clone https://git.riedstra.dev/wl/wlcustom/ "$wlcustomdir" fi -cd "$codedir" +cd "$wlcustomdir" sudo make install -- cgit v1.2.3