diff options
Diffstat (limited to 'lib/tqwtplot3d/scripts/fixvc7.py')
-rw-r--r-- | lib/tqwtplot3d/scripts/fixvc7.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/tqwtplot3d/scripts/fixvc7.py b/lib/tqwtplot3d/scripts/fixvc7.py new file mode 100644 index 0000000..968337a --- /dev/null +++ b/lib/tqwtplot3d/scripts/fixvc7.py @@ -0,0 +1,16 @@ +sourcedir = 'V:\\\\cvs\\qwtplot3d\\'
+stext=""$(QTDIR)"\\bin\\"
+rtext="$(QTDIR)\\bin\\"
+
+import os, string, sys
+from os.path import join, getsize
+for root, dirs, files in os.walk(sourcedir):
+ for name in files:
+ if '.vcproj' in name:
+ f = file(join(root,name),'r')
+ s = f.read()
+ f.close()
+ ss = string.replace(s,stext,rtext)
+ f = file(join(root,name),'w+')
+ f.write(ss);
+ f.close();
|