diff options
author | Balint Seeber <balint@ettus.com> | 2014-04-04 09:32:42 -0700 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2014-04-09 17:42:05 +0200 |
commit | 0b69cb314c4e63dc82bd971551cb2cdbae12a302 (patch) | |
tree | 8866439fc3d4c10a2c6a8a17ec89b3ebbd51368f /grc/python/Constants.py | |
parent | cd06fdc9372bb2489cc7a455b75cef445343296d (diff) |
grc: honour order of block paths, print them out on startup, override hier block and pref file path with GRC_HIER_PATH & GRC_PREFS_PATH
Diffstat (limited to 'grc/python/Constants.py')
-rw-r--r-- | grc/python/Constants.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Constants.py b/grc/python/Constants.py index 0e974df43c..9f27589b52 100644 --- a/grc/python/Constants.py +++ b/grc/python/Constants.py @@ -25,7 +25,7 @@ _gr_prefs = gr.prefs() #setup paths PATH_SEP = {'/':':', '\\':';'}[os.path.sep] -HIER_BLOCKS_LIB_DIR = os.path.join(os.path.expanduser('~'), '.grc_gnuradio') +HIER_BLOCKS_LIB_DIR = os.path.join(os.path.expanduser('~'), os.environ.get('GRC_HIER_PATH', '.grc_gnuradio')) BLOCKS_DIRS = filter( #filter blank strings lambda x: x, PATH_SEP.join([ os.environ.get('GRC_BLOCKS_PATH', ''), |