fix(boot): Force absolute SKILLS_DIR export and improve onboarding paths
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 24s
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 24s
This commit is contained in:
@@ -179,6 +179,10 @@ if [[ "$1" == "--boot" ]]; then
|
|||||||
fi
|
fi
|
||||||
done < "$SCRIPT_DIR/.env"
|
done < "$SCRIPT_DIR/.env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Force absolute paths for core system directories
|
||||||
|
export SKILLS_DIR="${SCRIPT_DIR}/skills"
|
||||||
|
[ -z "$MEMEX_DIR" ] && export MEMEX_DIR="$HOME/memex"
|
||||||
exec sbcl \
|
exec sbcl \
|
||||||
--eval "(load (merge-pathnames \"quicklisp/setup.lisp\" (user-homedir-pathname)))" \
|
--eval "(load (merge-pathnames \"quicklisp/setup.lisp\" (user-homedir-pathname)))" \
|
||||||
--eval "(setf *debugger-hook* (lambda (c h) (declare (ignore h)) (format *error-output* \"FATAL LISP ERROR: ~a~%\" c) (uiop:print-backtrace :stream *error-output*) (uiop:quit 1)))" \
|
--eval "(setf *debugger-hook* (lambda (c h) (declare (ignore h)) (format *error-output* \"FATAL LISP ERROR: ~a~%\" c) (uiop:print-backtrace :stream *error-output*) (uiop:quit 1)))" \
|
||||||
@@ -204,6 +208,10 @@ if [[ "$1" == "tui" ]]; then
|
|||||||
|
|
||||||
# Launch TUI
|
# Launch TUI
|
||||||
echo -e "${BLUE}Launching Croatoan TUI...${NC}"
|
echo -e "${BLUE}Launching Croatoan TUI...${NC}"
|
||||||
|
|
||||||
|
# Force absolute paths for core system directories
|
||||||
|
export SKILLS_DIR="${SCRIPT_DIR}/skills"
|
||||||
|
[ -z "$MEMEX_DIR" ] && export MEMEX_DIR="$HOME/memex"
|
||||||
exec sbcl \
|
exec sbcl \
|
||||||
--eval "(load (merge-pathnames \"quicklisp/setup.lisp\" (user-homedir-pathname)))" \
|
--eval "(load (merge-pathnames \"quicklisp/setup.lisp\" (user-homedir-pathname)))" \
|
||||||
--eval "(push (truename \"$SCRIPT_DIR/\") asdf:*central-registry*)" \
|
--eval "(push (truename \"$SCRIPT_DIR/\") asdf:*central-registry*)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user