make in to sibling project
This commit is contained in:
+7
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user