[meld] bin/meld: Fix starting Meld from differently-named symlink (bgo#739399)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] bin/meld: Fix starting Meld from differently-named symlink (bgo#739399)
- Date: Sat, 8 Nov 2014 21:13:19 +0000 (UTC)
commit 58ed04a3e42700bfd5f2089e399ef2ed5c66c77a
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Nov 9 07:11:59 2014 +1000
bin/meld: Fix starting Meld from differently-named symlink (bgo#739399)
bin/meld | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/bin/meld b/bin/meld
index 9e7394a..ce3a783 100755
--- a/bin/meld
+++ b/bin/meld
@@ -57,8 +57,7 @@ def get_meld_dir():
return os.path.dirname(sys.executable)
# Support running from an uninstalled version
- if os.path.basename(__file__) == "meld":
- self_path = os.path.realpath(__file__)
+ self_path = os.path.realpath(__file__)
return os.path.abspath(os.path.join(os.path.dirname(self_path), ".."))
frozen = getattr(sys, 'frozen', False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]