Updated openfpga.sh

This commit is contained in:
Ganesh Gore 2023-03-13 01:46:53 -06:00
parent 1271fd1795
commit 3bced9c055
1 changed files with 2 additions and 1 deletions

View File

@ -7,11 +7,12 @@
if [ -z $OPENFPGA_PATH ]; then
echo "OPENFPGA_PATH variable not found"
export OPENFPGA_PATH=$(pwd);
export OPENFPGA_PATH=$( dirname -- "$0"; );
echo "Setting OPENFPGA_PATH=${OPENFPGA_PATH}"
else
echo "OPENFPGA_PATH=${OPENFPGA_PATH}"
fi
export OPENFPGA_SCRIPT_PATH="${OPENFPGA_PATH}/openfpga_flow/scripts"
export OPENFPGA_TASK_PATH="${OPENFPGA_PATH}/openfpga_flow/tasks"
if [ -z $PYTHON_EXEC ]; then export PYTHON_EXEC="python3"; fi