From 34520cdcf47d6af520f9baf719bf14e49afddbf7 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 27 Nov 2010 20:03:03 +0000 Subject: [PATCH] Roumen Petrov's fix for when all paths are absolute. (Issue 10520) --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a6d0af1ea1c..d4e981b8fda 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,8 @@ def add_dir_to_list(dirlist, dir): for i, path in enumerate(dirlist): if not os.path.isabs(path): dirlist.insert(i + 1, dir) - break + return + dirlist.insert(0, dir) def macosx_sdk_root(): """