aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-09-18 06:53:15 -0400
committerB. Watson <urchlay@slackware.uk>2026-09-18 06:53:15 -0400
commit5ad3c89e8165abd23497762d00577991366d2138 (patch)
treeb29d07c7695a50b708c022b973999f522278ac21 /admin
parent70eb1e49680ae36f9dae76045d346b7df1344222 (diff)
downloadsbostuff-5ad3c89e8165abd23497762d00577991366d2138.tar.gz
sbols: whoops, missing sbostuff.sh is an error because that's where cdsb() is defined.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/sbols3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/sbols b/admin/sbols
index e762d63..a265757 100755
--- a/admin/sbols
+++ b/admin/sbols
@@ -65,8 +65,9 @@ while getopts ":monsrcdla" OPT; do
done
shift $(($OPTIND - 1))
+source ~/sbostuff/sbostuff.sh || exit 1
+
# if we have this, use it, otherwise use current dir.
-source ~/sbostuff/sbostuff.sh 2>/dev/null
[ "$SBO_GITROOT" != "" ] && cd "$SBO_GITROOT"
# either way, check that it's for real.