diff options
Diffstat (limited to 'source-builder/sb')
-rw-r--r-- | source-builder/sb/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/path.py b/source-builder/sb/path.py index f851139..e2fd3d4 100644 --- a/source-builder/sb/path.py +++ b/source-builder/sb/path.py @@ -143,7 +143,7 @@ def iswritable(path): def ispathwritable(path): path = shell(path) - while len(path) != 0: + while len(path) > 1: if exists(path): return iswritable(path) path = dirname(path) |