From a9b971b8866341439bfcf633612125e449cb6d02 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sun, 18 Dec 2016 10:07:44 +0000
Subject: [PATCH] asdf in api directory

---
 src/freedombone-app-turtl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/freedombone-app-turtl b/src/freedombone-app-turtl
index b0591530d..dabad0118 100755
--- a/src/freedombone-app-turtl
+++ b/src/freedombone-app-turtl
@@ -921,7 +921,9 @@ __ENDCONFIG__
     echo "(defvar *analytics* '(:enabled t" >> /opt/api/config/config.footer
     echo '                      :db "analytics"))' >> /opt/api/config/config.footer
 
-    echo "(pushnew \"./\" asdf:*central-registry* :test #'equal)" > /opt/api/launch.lisp
+    cp $INSTALL_DIR/asdf.lisp /opt/api
+    echo '(load (compile-file "asdf.lisp"))' > /opt/api/launch.lisp
+    echo "(pushnew \"./\" asdf:*central-registry* :test #'equal)" >> /opt/api/launch.lisp
     echo '(load "start")' >> /opt/api/launch.lisp
 
     turtl_setup
-- 
GitLab