Fix of issue 6060, problem with lower case drive letters in Windows.
svn: r20464
This commit is contained in:
parent
37976a7e79
commit
f63adca571
@ -82,9 +82,9 @@ APP_VCARD = ["text/x-vcard", "text/x-vcalendar"]
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
if sys.prefix == os.path.dirname(os.getcwd()):
|
if sys.prefix.upper() == os.path.dirname(os.getcwd()).upper():
|
||||||
PREFIXDIR = sys.prefix
|
PREFIXDIR = sys.prefix.capitalize()
|
||||||
SYSCONFDIR = os.path.join(sys.prefix, "etc")
|
SYSCONFDIR = os.path.join(PREFIXDIR, "etc")
|
||||||
elif sys.platform == "darwin" and sys.prefix != sys.exec_prefix:
|
elif sys.platform == "darwin" and sys.prefix != sys.exec_prefix:
|
||||||
PREFIXDIR = sys.prefix
|
PREFIXDIR = sys.prefix
|
||||||
SYSCONFDIR = os.path.join(sys.prefix, "etc")
|
SYSCONFDIR = os.path.join(sys.prefix, "etc")
|
||||||
|
Loading…
Reference in New Issue
Block a user