summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastian Bloessl <bloessl@ccs-labs.org>2013-06-11 19:35:32 +0200
committerJohnathan Corgan <johnathan@corganlabs.com>2013-06-13 19:58:14 -0700
commitdbcba6e5ae0b74106b2cee4e556d8e0d8711318a (patch)
tree3512d36b9ecf232052f250a9f83830313d855bc6
parentc7848a1aa3748ef62d3d4faf7f58736f0ee9a0cb (diff)
grcc: set grc file path, which is required for hier blocks
-rwxr-xr-xgr-utils/src/python/grcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-utils/src/python/grcc b/gr-utils/src/python/grcc
index 7e5665dc05..0477b813f6 100755
--- a/gr-utils/src/python/grcc
+++ b/gr-utils/src/python/grcc
@@ -36,6 +36,7 @@ class grcc:
self.fg = self.platform.get_new_flow_graph()
self.fg.import_data(data)
+ self.fg.grc_file_path = os.path.abspath(grcfile)
self.fg.validate()
self.gen = self.platform.get_generator()(self.fg, out_dir)