Use realpath for PREFIX
issue2776
This commit is contained in:
1 parent
5e3db0515d
commit
a5e2265eb7
1 file changed
+1
-1
+1
-1
@@ -178,7 +178,7 @@ else:
|
||||
unicode(os.path.dirname(__file__), sys.getfilesystemencoding()),
|
||||
'..')))
|
||||
PREFIX = os.path.abspath(os.path.normpath(os.path.join(
|
||||
os.path.dirname(sys.argv[0]), '..')))
|
||||
os.path.realpath(os.path.dirname(sys.argv[0])), '..')))
|
||||
PIXMAPS_DIR = os.path.join(CURRENT_DIR, 'share', 'pixmaps', 'tryton')
|
||||
if not os.path.isdir(PIXMAPS_DIR):
|
||||
PIXMAPS_DIR = os.path.join(PREFIX, 'share', 'pixmaps', 'tryton')
|
||||
|
||||
Reference in new issue
Block a user