diff --git a/py/Boinc/setup_project.py b/py/Boinc/setup_project.py index 834dc60fd1..09bf41e41d 100644 --- a/py/Boinc/setup_project.py +++ b/py/Boinc/setup_project.py @@ -343,7 +343,7 @@ def install_boinc_files(dest_dir, install_web_files, install_server_files): install_glob(srcdir('html/languages/translations/*.po'), dest('html/languages/translations/')) # copy Python stuff - install(srcdir('sched','start' ), dest('bin','start' )) + install(srcdir('sched/start' ), dest('bin/start' )) force_symlink(dest('bin', 'start'), dest('bin', 'stop')) force_symlink(dest('bin', 'start'), dest('bin', 'status')) python_files = [ @@ -362,7 +362,7 @@ def install_boinc_files(dest_dir, install_web_files, install_server_files): 'util.py' ] for f in python_files: - install(srcdir('py/Boinc',f), dest('py/Boinc',f)) + install(srcdir(f'py/Boinc/{f}'), dest(f'py/Boinc/{f}')) 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('sched',f), dest('bin',f)) + install(builddir(f'sched/{f}'), dest('bin',f)) command = [ 'vda', 'vdad' ] for f in command: - install(builddir('vda',f), dest('bin',f)) + install(builddir(f'vda/{f}'), dest('bin',f)) command = [ 'appmgr', 'boinc_submit', @@ -450,9 +450,9 @@ sys.path.insert(0, os.path.join('{dest_dir}', 'py')) 'xadd', ] for f in command: - 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' )) + install(builddir(f'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' )) class Project: def __init__(self,