commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/04: grc: use abs path for source tree ru


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/04: grc: use abs path for source tree run mode
Date: Sun, 12 Apr 2015 03:57:24 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 7d2a39080db046b6b35e8aa8371335571e76030f
Author: Sebastian Koslowski <address@hidden>
Date:   Thu Apr 9 16:21:05 2015 +0200

    grc: use abs path for source tree run mode
---
 grc/scripts/gnuradio-companion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grc/scripts/gnuradio-companion b/grc/scripts/gnuradio-companion
index 239fc95..7a407ea 100755
--- a/grc/scripts/gnuradio-companion
+++ b/grc/scripts/gnuradio-companion
@@ -74,7 +74,7 @@ def ensure_blocks_path():
 
 def get_source_tree_root():
     source_tree_subpath = "/grc/scripts"
-    script_path = os.path.dirname(__file__)
+    script_path = os.path.dirname(os.path.abspath(__file__))
     if script_path.endswith(source_tree_subpath):
         return script_path[:-len(source_tree_subpath)]
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]