added the target directory as an aditional information if different from the name of the module
--- a/bake/Bake.py Thu Apr 25 02:06:08 2013 +0200
+++ b/bake/Bake.py Thu Apr 25 02:34:52 2013 +0200
@@ -705,7 +705,10 @@
return True
if not dependencyExists:
- sys.stdout.write (" >> Downloading " + module.name() + " - ")
+ targetDir=''
+ if module._source.attribute('module_directory'):
+ targetDir=' (target directory:%s)'%module._source.attribute('module_directory').value
+ sys.stdout.write (" >> Downloading " + module.name() + targetDir + " - ")
sys.stdout.flush()
if env._logger._verbose > 0:
print
--- a/bakeconf.xml Thu Apr 25 02:06:08 2013 +0200
+++ b/bakeconf.xml Thu Apr 25 02:34:52 2013 +0200
@@ -715,6 +715,7 @@
<module name="nsc-dev">
<source type="mercurial">
<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/>
+ <attribute name="module_directory" value="nsc"/>
</source>
<depends_on name="g++" optional="False"/>
<!-- problem: scons has no generic command-line support for builddir and installdir -->