Edited script to enable pulling of forked repositories

This commit is contained in:
Michael Schmatz 2014-01-05 19:51:52 -05:00
parent 9019368d1d
commit 5238b85a96
3 changed files with 5 additions and 3 deletions
scripts/devSetup

View file

@ -36,6 +36,7 @@ class Node(Dependency):
return "COCO_NODE_PATH=" + self.config.directory.bin_directory + os.sep + u"node" + os.sep + "bin" + os.sep +"node"
def install_dependencies(self):
install_directory = self.config.directory.bin_directory + os.sep + u"node"
#check for node here
unzipped_node_path = self.findUnzippedNodePath()
if self.config.system.operating_system in ["mac","linux"] and not which("node"):
print "Copying node into /usr/local/bin/..."