aboutsummaryrefslogtreecommitdiff
path: root/bldSession.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2025-12-26 11:49:01 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2025-12-26 11:49:51 -0500
commit41b0e793aaefffd903915ed5cacee8e6278e815a (patch)
treeee9848da6cefaf4968d6c8132de25cb136d6e71d /bldSession.sh
parent672057565bb3ab4ae108eb3036f6ce94166f25e1 (diff)
downloadrivercfg-41b0e793aaefffd903915ed5cacee8e6278e815a.tar.gz
rivercfg-41b0e793aaefffd903915ed5cacee8e6278e815a.tar.xz
use CODEDIR
Diffstat (limited to 'bldSession.sh')
-rwxr-xr-xbldSession.sh11
1 files changed, 6 insertions, 5 deletions
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