Skip to content

Commit 73f2943

Browse files
committed
add test to see if /opt/Xilinx/14.7/ISE_DS/settings64.sh has been run and display error
1 parent a8e7bbf commit 73f2943

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/setup-env.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ if [ ! -z $HDMI2USB_ENV ]; then
2020
return
2121
fi
2222

23+
if [ ! -z $SETTINGS_FILE ]; then
24+
echo "You appear to have sourced the Xilinx ISE settings, these are incompatible with building."
25+
echo "Please exit this terminal and run again from a clean shell."
26+
return
27+
fi
28+
2329
echo " This script is: $SETUP_SRC"
2430
echo " Firmware directory: $TOP_DIR"
2531
echo " Build directory is: $BUILD_DIR"

0 commit comments

Comments
 (0)