summaryrefslogtreecommitdiff
path: root/grc/python/Constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/python/Constants.py')
-rw-r--r--grc/python/Constants.py2
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', ''),