Cleanup
This commit is contained in:
+5
-5
@@ -819,11 +819,11 @@ def run(user_app_list,
|
||||
devenv_script_buffer += f"source $devenver_root/unix_fzf-completion.bash\n"
|
||||
devenv_script_buffer += f"source $devenver_root/unix_fzf-key-bindings.bash\n"
|
||||
|
||||
devenv_script_name = f"{devenv_script_name}.bat" if is_windows else f"{devenv_script_name}.sh"
|
||||
devenv_script_path = pathlib.Path(install_dir, devenv_script_name)
|
||||
|
||||
lprint(f"Writing script to augment the environment with installed applications: {devenv_script_path}")
|
||||
devenv_script_path.write_text(devenv_script_buffer)
|
||||
if devenv_script_name:
|
||||
devenv_script_name = f"{devenv_script_name}.bat" if is_windows else f"{devenv_script_name}.sh"
|
||||
devenv_script_path = pathlib.Path(install_dir, devenv_script_name)
|
||||
lprint(f"Writing script to augment the environment with installed applications: {devenv_script_path}")
|
||||
devenv_script_path.write_text(devenv_script_buffer)
|
||||
|
||||
if not is_windows:
|
||||
subprocess.run(args=["chmod", "+x", devenv_script_path])
|
||||
|
||||
Reference in New Issue
Block a user