summaryrefslogtreecommitdiff
path: root/grc/scripts
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-07-13 17:22:22 +0200
committerSebastian Koslowski <koslowski@kit.edu>2016-07-13 17:22:22 +0200
commit5b9404f8836db0ccfc0d732d93b1b7beeca96ded (patch)
tree3e21ce59b1713a55095595673b98b09ef1d62a8e /grc/scripts
parentb75465dad599575bce879df01fb4c515eeeddec5 (diff)
grc: gtk3: update main and checks
Diffstat (limited to 'grc/scripts')
-rwxr-xr-xgrc/scripts/gnuradio-companion11
1 files changed, 7 insertions, 4 deletions
diff --git a/grc/scripts/gnuradio-companion b/grc/scripts/gnuradio-companion
index 04a1cb44e7..6130582f35 100755
--- a/grc/scripts/gnuradio-companion
+++ b/grc/scripts/gnuradio-companion
@@ -26,13 +26,16 @@ source_tree_subpath = "/grc/scripts"
if not script_path.endswith(source_tree_subpath):
# run the installed version
- from gnuradio.grc.main import main
from gnuradio.grc import checks
+ checks.do_all()
+ from gnuradio.grc.main import main
+ exit(main())
+
else:
print("Running from source tree")
sys.path.insert(1, script_path[:-len(source_tree_subpath)])
- from grc.main import main
from grc import checks
+ checks.do_all()
+ from grc.main import main
+ exit(main())
-checks.do_all()
-exit(main())