|
@@ -330,7 +330,7 @@ def MDK4Project(target, script):
|
|
|
# copy uvopt file
|
|
|
if os.path.exists('template.uvopt'):
|
|
|
import shutil
|
|
|
- shutil.copy2('template.uvopt', 'project.uvopt')
|
|
|
+ shutil.copy2('template.uvopt', '{}.uvopt'.format(os.path.splitext(target)[0]))
|
|
|
|
|
|
def MDK5Project(target, script):
|
|
|
|
|
@@ -349,7 +349,7 @@ def MDK5Project(target, script):
|
|
|
# copy uvopt file
|
|
|
if os.path.exists('template.uvoptx'):
|
|
|
import shutil
|
|
|
- shutil.copy2('template.uvoptx', 'project.uvoptx')
|
|
|
+ shutil.copy2('template.uvoptx', '{}.uvoptx'.format(os.path.splitext(target)[0]))
|
|
|
|
|
|
def MDK2Project(target, script):
|
|
|
template = open('template.Uv2', "r")
|