Don't remove the nsc .so files after update; this was a hack for ns-3-dev that is not needed here since we always try to build nsc after download.py, in build.py.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 04 Mar 2009 14:56:24 +0000
changeset 24 89bf89617bdb
parent 23 f8b0a9e91570
child 25 2b66ea0abc1f
Don't remove the nsc .so files after update; this was a hack for ns-3-dev that is not needed here since we always try to build nsc after download.py, in build.py.
download.py
--- a/download.py	Sun Mar 01 12:10:27 2009 +0000
+++ b/download.py	Wed Mar 04 14:56:24 2009 +0000
@@ -153,9 +153,6 @@
     def nsc_update():
         print "Pulling nsc updates from " + constants.NSC_REPO
         run_command(['hg', '--cwd', constants.LOCAL_NSC_PATH, 'pull', '-u', constants.NSC_REPO])
-        for so in glob(os.path.join(constants.LOCAL_NSC_PATH, '*', '*.so')):
-            print "remove", so
-            os.remove(so)
 
     def nsc_download():
         local_file = required_nsc_version + ".tar.bz2"