Skip to content
Snippets Groups Projects
Commit 248b6471 authored by jdh8d's avatar jdh8d
Browse files

added explicit check if PEDI_HOME is set to avoid key error when it is not.

Former-commit-id: 77b8f93a9c98bb8577182f66ea48339fcb6f6d4c
parent 0a6cd1cd
No related branches found
No related tags found
No related merge requests found
......@@ -89,11 +89,11 @@ if int(argenv['build_irdb']) == 1 or int(argenv['build_irdb_driver']) == 1:
Default(lib)
pedi = Command( target = "./testoutput",
source = "./SConscript",
action = "if [ -f manifest.txt.config ]; then "+os.environ['PEDI_HOME']+"/pedi -m manifest.txt ; else echo Skipping PEDI; fi" )
Default( pedi )
if 'PEDI_HOME' in os.environ:
pedi = Command( target = "./testoutput",
source = "./SConscript",
action = "if [ -f manifest.txt.config ]; then "+os.environ['PEDI_HOME']+"/pedi -m manifest.txt ; else echo Skipping PEDI; fi" )
Default( pedi )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment