Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): uninstall support AIX 7.1 #55438

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tools/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
import ast
import errno
import os
import platform
import shutil
import sys
import re

current_system = platform.system()

SYSTEM_AIX = "AIX"

def abspath(*args):
path = os.path.join(*args)
return os.path.abspath(path)
Expand Down Expand Up @@ -44,6 +49,7 @@ def try_rmdir_r(options, path):
except OSError as e:
if e.errno == errno.ENOTEMPTY: return
if e.errno == errno.ENOENT: return
if e.errno == errno.EEXIST and current_system == SYSTEM_AIX: return
raise
path = abspath(path, '..')

Expand Down
Loading