f strings don't work

This commit is contained in:
Laurence 2019-07-08 18:11:09 +02:00
parent b3b6858c52
commit e4cc393b90
1 changed files with 5 additions and 5 deletions

View File

@ -361,8 +361,8 @@ def install_boinc_files(dest_dir, install_web_files, install_server_files):
'tools.py',
'util.py'
]
for f in python_files:
install(srcdir(f'py/Boinc/{f}'), dest(f'py/Boinc/{f}'))
for s in python_files:
install(srcdir("py/Boinc/" + s), dest('py/Boinc', s))
content = '''
# Generated by make_project
@ -424,10 +424,10 @@ sys.path.insert(0, os.path.join('{dest_dir}', 'py'))
'wu_check',
]
for f in command:
install(builddir(f'sched/{f}'), dest('bin',f))
install(builddir('sched/' + f), dest('bin',f))
command = [ 'vda', 'vdad' ]
for f in command:
install(builddir(f'vda/{f}'), dest('bin',f))
install(builddir('vda/' + f), dest('bin',f))
command = [
'appmgr',
'boinc_submit',
@ -450,7 +450,7 @@ sys.path.insert(0, os.path.join('{dest_dir}', 'py'))
'xadd',
]
for f in command:
install(builddir(f'vda/{f}'), dest('bin',f))
install(builddir('vda/' + f), dest('bin',f))
install(srcdir('lib/crypt_prog'), dest('bin','crypt_prog'))
install(srcdir('sched/db_dump_spec.xml' ), dest('','db_dump_spec.xml' ))