From 73e7501ebcce19fff65c4805b5d953ded2fc8e3a Mon Sep 17 00:00:00 2001 From: Simon Southwell Date: Wed, 30 May 2018 14:29:39 +0100 Subject: [PATCH] HMBFDGMA-2 Fixed bug in synthesis.py --- autobuild/synthesis/synthesis.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autobuild/synthesis/synthesis.py b/autobuild/synthesis/synthesis.py index 25e0697..ab41e38 100644 --- a/autobuild/synthesis/synthesis.py +++ b/autobuild/synthesis/synthesis.py @@ -24,8 +24,10 @@ except: QPF_TOP=os.environ["QPF_TOP"] QSYS_TOP=os.environ["QSYS_TOP"] -if "BUILD_DIR_NAME" not in os.environ : - BUILD_DIR_NAME="build" +BUILD_DIR_NAME="build" + +if "BUILD_DIR_NAME" in os.environ : + BUILD_DIR_NAME=os.environ["BUILD_DIR_NAME"] ALTERA_ROOT=os.path.join(WORKSPACE,"a/ver") os.environ["ALTERA_ROOT"]=ALTERA_ROOT