[IPLU/VST3] base ARCHS
[wdl/wdl-ol.git] / IPlugExamples / setup_debugging.command
blobe40f6204325dd44cf1db6df6485b0f7c3c037ae1
1 #!/usr/bin/python
3 # this script will rename all the xcode oli.pbxuser
4 # user settings to yourosxusername.pbxuser to provide
5 # the default debugging setup for Xcode 3
7 import os, getpass, glob, shutil
9 path = os.path.dirname(os.path.realpath(__file__))
10 username = getpass.getuser()
12 for r,d,f in os.walk(path):
13 for files in f:
14 if files.endswith(".pbxuser"):
15 noext = os.path.splitext(files)[0]
16 if noext == "oli":
17 shutil.copy(os.path.join(r, files), os.path.join(r, username + ".pbxuser"))