[meld] Avoid symlink issues in uninstalled use (closes bgo#603518)
- From: Kai Willadsen <kaiw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [meld] Avoid symlink issues in uninstalled use (closes bgo#603518)
- Date: Wed, 2 Dec 2009 01:03:33 +0000 (UTC)
commit 9e670ea6a9fb2d05bcabac8caaab8da40ee1411d
Author: Kai Willadsen <kai willadsen gmail com>
Date: Wed Dec 2 10:54:46 2009 +1000
Avoid symlink issues in uninstalled use (closes bgo#603518)
bin/meld | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bin/meld b/bin/meld
index 17ff6e9..0967396 100755
--- a/bin/meld
+++ b/bin/meld
@@ -53,7 +53,7 @@ except ValueError:
profiling = False
# Support running from an uninstalled version
-melddir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
+melddir = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), ".."))
if os.path.exists(os.path.join(melddir, "meld.doap")):
sys.path[0:0] = [melddir]
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]