make in to sibling project

This commit is contained in:
David Young
2026-10-23 08:14:13 -06:00
parent c7106ba76b
commit 0f86e92b88
10 changed files with 206 additions and 299 deletions
+7 -1
View File
@@ -1,6 +1,12 @@
#!/bin/bash
CONF="compile.conf"
SCRIPT_DIR=$(dirname "$(realpath "$0")")
# Installed in ~/.local/bin, this finds the repo where `sibling` cloned it
if [ ! -f "$SCRIPT_DIR/compile.conf" ]; then
SCRIPT_DIR="$HOME/.local/share/siblings/HamPackServer"
fi
HAMPACKSERVER_DIR="${HAMPACKSERVER_DIR:-$SCRIPT_DIR}"
CONF="$HAMPACKSERVER_DIR/compile.conf"
if [ ! -f "$CONF" ]; then
echo "Error: compile.conf not found at $CONF"