Skip to content
Snippets Groups Projects
Commit 15fc0376 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Use - instead of to allow that SITE is not set.

parent 56324ae2
No related branches found
No related tags found
No related merge requests found
......@@ -32,10 +32,10 @@
export TOOLSET=${1:-}
echo "Make Modelsim and Altera library simulation settings for RadioHDL with :"
echo " - Tool setting: ${TOOLSET}"
echo " - Site setting: ${SITE}"
echo " - Site setting: ${SITE-}"
# Select tool version
if [ "${SITE}" = "USN" ]; then
if [ "${SITE-}" = "USN" ]; then
if [ "${TOOLSET}" = "unb1" ]; then
. ${RADIOHDL}/tools/quartus/quartus_version.sh 11.1sp2
. ${RADIOHDL}/tools/modelsim/modelsim_version.sh 6.6d
......@@ -58,8 +58,8 @@ else # default site
else
echo "error: unknown tool setting: ${TOOLSET} (choose 'unb1' or 'unb2')"
exit 1
fi # "${TOOLSET}"
fi # "${SITE}"
fi
fi
......
......@@ -32,10 +32,10 @@
TOOLSET=${1:-}
echo "Make Quartus settings for RadioHDL with :"
echo " - Tool setting: ${TOOLSET}"
echo " - Site setting: ${SITE}"
echo " - Site setting: ${SITE-}"
# Select tool version
if [ "${SITE}" = "USN" ]; then
if [ "${SITE-}" = "USN" ]; then
if [ "${TOOLSET}" = "unb1" ]; then
. ${RADIOHDL}/tools/quartus/quartus_version.sh 11.1sp2
elif [ "${TOOLSET}" = "unb2" ]; then
......@@ -53,7 +53,7 @@ else # default site
echo "error: unknown tool setting: ${TOOLSET} (choose 'unb1' or 'unb2')"
exit 1
fi
fi # "${SITE}"
fi
# Tool settings
. ${RADIOHDL}/tools/quartus/quartus_generic.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment