You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
496 B
17 lines
496 B
13 years ago
|
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();
|