From f63adca571253546d38987efad8c11f55cb14e9c Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Sat, 29 Sep 2012 16:32:39 +0000 Subject: [PATCH] Fix of issue 6060, problem with lower case drive letters in Windows. svn: r20464 --- src/const.py.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/const.py.in b/src/const.py.in index 7cc29c51f..fde8ec1a7 100644 --- a/src/const.py.in +++ b/src/const.py.in @@ -82,9 +82,9 @@ APP_VCARD = ["text/x-vcard", "text/x-vcalendar"] # #------------------------------------------------------------------------- if sys.platform == "win32": - if sys.prefix == os.path.dirname(os.getcwd()): - PREFIXDIR = sys.prefix - SYSCONFDIR = os.path.join(sys.prefix, "etc") + if sys.prefix.upper() == os.path.dirname(os.getcwd()).upper(): + PREFIXDIR = sys.prefix.capitalize() + SYSCONFDIR = os.path.join(PREFIXDIR, "etc") elif sys.platform == "darwin" and sys.prefix != sys.exec_prefix: PREFIXDIR = sys.prefix SYSCONFDIR = os.path.join(sys.prefix, "etc")