Bug 1083 - scratch doesn't work when only some modules are enabled
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Mon, 28 Mar 2011 15:37:23 +0100
changeset 6962 7df7b903d035
parent 6961 ca0f33d08fd0
child 6963 692d041f61d4
child 6964 972ace462569
Bug 1083 - scratch doesn't work when only some modules are enabled
wscript
--- a/wscript	Mon Mar 28 15:31:13 2011 +0100
+++ b/wscript	Mon Mar 28 15:37:23 2011 +0100
@@ -517,7 +517,7 @@
 
 
 def add_scratch_programs(bld):
-    all_modules = [mod[len("ns3-"):] for mod in bld.env['NS3_MODULES']]
+    all_modules = [mod[len("ns3-"):] for mod in bld.env['NS3_ENABLED_MODULES']]
     for filename in os.listdir("scratch"):
         if filename.startswith('.') or filename == 'CVS':
 	    continue