aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 5e9c43c..02f91b0 100755
--- a/setup.py
+++ b/setup.py
@@ -782,7 +782,7 @@ class Setup():
targets = target.split('/')
dests = dest.split('/')
- while (len(targets) > 1) and (len(target) > 1) and (targets[0] == dests[0]):
+ while (len(targets) > 1) and (len(dests) > 1) and (targets[0] == dests[0]):
targets = targets[1:]
dests = dests[1:]