repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 56520cd0473370e9e547c709724f7652c0ac508b:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 56520cd0473370e9e547c709724f7652c0ac508b
Author: James Baicoianu 
Date:   Fri Jan 6 16:14:21 2017 -0800

    Fix init script

diff --git a/utils/init.sh b/utils/init.sh
index 1aafbe23e2d62643af9514b6b3eaa07dd2d8c419..
index ..e76c6340543a1ec30a46527261c30591c37a9597 100755
--- a/utils/init.sh
+++ b/utils/init.sh
@@ -11,15 +11,16 @@ for DEP in $DEPENDENCYPATHS; do
 done

 if [ ! -d elation ]; then
-  ln -sf ${dependencies["elation"]}
-
-  cd elation/components
+  # FIXME - nodejs require() seems to have problems with symlinked directories, use cp -al to create recursive hard links instead
+  #ln -sf ${dependencies["elation"]}
+  #cd elation/components
   #ln -sf ${dependencies["elation-engine"]} engine
   #ln -sf ${dependencies["elation-share"]} share
   #ln -sf ${dependencies["cyclone-physics"]} physics
   #ln -sf ${dependencies["janusweb"]} janusweb

-  # FIXME - nodejs require() seems to have problems with symlinked directories, use cp -al to create recursive hard links instead
+  cp -al ${dependencies["elation"]} elation/
+  cd elation/components
   cp -al ${dependencies["elation-engine"]} engine/
   cp -al ${dependencies["elation-share"]} share/
   cp -al ${dependencies["cyclone-physics"]} physics/

-----END OF PAGE-----