diff --git a/literate/setup.org b/literate/setup.org index a4255ed..3623372 100644 --- a/literate/setup.org +++ b/literate/setup.org @@ -57,7 +57,7 @@ fi if [ -f "opencortex.asd" ] || [ -d "literate" ]; then if [ ! -f .env ]; then ./scripts/onboard-baremetal.sh; fi export SKILLS_DIR="$(grep "^SKILLS_DIR=" .env | cut -d"\"" -f2)" - if [ -f .env ]; then set -a; source .env; set +a; fi + while read -r line; do if [[ ! "$line" =~ ^# ]] && [[ "$line" =~ = ]]; then export "$line"; fi; done < .env echo -e "${BLUE}Starting OpenCortex via SBCL...${NC}" sbcl --non-interactive \ --eval "(load \"~/quicklisp/setup.lisp\")" \