Skip to content

Commit f304abb

Browse files
committed
update install directory
1 parent 1f8905f commit f304abb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang_tools/install.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ def move_and_chmod_binary(old_file_name, new_file_name, directory) -> None:
6969
install_dir = directory
7070
else:
7171
install_os = check_install_os()
72-
if install_os == "windows":
73-
install_dir = os.path.dirname(sys.executable)
74-
else:
72+
if install_os == "linux":
7573
install_dir = os.path.expanduser('~/.local/bin/')
74+
else:
75+
install_dir = os.path.dirname(sys.executable)
7676
try:
7777
if not os.path.isdir(install_dir):
7878
os.makedirs(install_dir)

0 commit comments

Comments
 (0)