Setup environment _after_ config vars are set

utils/environment.sh depends the values of per-database env vars such as
XRAY_PART.  Source environment.sh after those vars are exported.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
Rick Altherr 2017-12-18 16:23:18 -08:00 committed by Tim 'mithro' Ansell
parent f56b79a5d4
commit 08cfec4855
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,3 @@
source $(dirname ${BASH_SOURCE[0]})/../../utils/environment.sh
export XRAY_DATABASE="artix7"
export XRAY_PART="xc7a50tfgg484-1"
export XRAY_ROI="SLICE_X12Y100:SLICE_X27Y149"
@ -15,3 +13,5 @@ export XRAY_PIN_03="D21"
export XRAY_PIN_04="G21"
export XRAY_PIN_05="G22"
export XRAY_PIN_06="F21"
source $(dirname ${BASH_SOURCE[0]})/../../utils/environment.sh