We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f22327 commit aa0539cCopy full SHA for aa0539c
tools/install.py
@@ -4,10 +4,15 @@
4
import ast
5
import errno
6
import os
7
+import platform
8
import shutil
9
import sys
10
import re
11
12
+current_system = platform.system()
13
+
14
+SYSTEM_AIX = "AIX"
15
16
def abspath(*args):
17
path = os.path.join(*args)
18
return os.path.abspath(path)
@@ -44,6 +49,7 @@ def try_rmdir_r(options, path):
44
49
except OSError as e:
45
50
if e.errno == errno.ENOTEMPTY: return
46
51
if e.errno == errno.ENOENT: return
52
+ if e.errno == errno.EEXIST and current_system == SYSTEM_AIX: return
47
53
raise
48
54
path = abspath(path, '..')
55
0 commit comments