[meld/meld-3-12] 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/meld-3-12] bin/meld: Fix starting Meld from differently-named symlink (bgo#739399)
- Date: Sat, 8 Nov 2014 21:14:01 +0000 (UTC)
commit a2df04fa8301283d8f5872379e873c77a101d74a
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 dcef225..8cfa713 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]