DBRTools - minor nasty hack to get cleanenv working better
authorMattD <mattd@symbian.org>
Mon, 22 Mar 2010 15:50:51 +0000
changeset 213 6272bdcb6221
parent 212 21d5b62bbd8e
child 214 dd2b0824de90
DBRTools - minor nasty hack to get cleanenv working better
dbrtools/dbr/cleanenv.py
--- a/dbrtools/dbr/cleanenv.py	Mon Mar 22 12:28:48 2010 +0000
+++ b/dbrtools/dbr/cleanenv.py	Mon Mar 22 15:50:51 2010 +0000
@@ -18,6 +18,7 @@
 import dbrenv
 
 import re #temporary for dealing with patches
+import os
 
 def run(args):  
   zippath = '/'
@@ -40,7 +41,9 @@
   required = results2.changed | results2.removed
   dbrutils.extractfiles(required, zippath)
   #do something about the patches here...
-  print 'Need to extract the patches!!!'  
+  print 'Need to extract the patches in a nicer manner!!!'
+  dbrutils.extractfiles(required, os.path.join(location,dbrutils.patch_path_internal()))
+  
   #scan again...create a new 'local'   
   local = dbrenv.DBRLocalEnv(location)
   local.verify(required)