mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 12:57:23 -04:00
Add fallback on site-setup.sh if no RISCV/site-setup.sh exists.
This commit is contained in:
parent
cc287a037a
commit
fd2f88ef33
1 changed files with 5 additions and 1 deletions
6
setup.sh
6
setup.sh
|
@ -27,6 +27,10 @@ export PATH=$WALLY/bin:$PATH
|
|||
ulimit -s 100000
|
||||
|
||||
# load site licenses and tool locations
|
||||
source $RISCV/site-setup.sh
|
||||
if [ -f ${RISCV}/site-setup.sh ]; then
|
||||
source ${RISCV}/site-setup.sh
|
||||
else
|
||||
source ${WALLY}/site-setup.sh
|
||||
fi
|
||||
|
||||
echo "setup done"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue