Permalink
Browse files

exit if XILINX_PASSPHRASE is not set

Or is this expected to run and use the local install?

I keep burning up hours because I run bootstrap and then realize I forgot to set ...PASSPHRASE.
  • Loading branch information...
CarlFK committed Sep 22, 2015
1 parent f032029 commit 2709968ca51392a32a408d6e0a88f90b18328c90
Showing with 7 additions and 0 deletions.
  1. +7 −0 scripts/get-env.sh
@@ -20,6 +20,13 @@ fi

# Xilinx ISE

# make sure XILINX_PASSPHRASE is set
if [[ ! -v XILINX_PASSPHRASE ]]; then
echo "XILINX_PASSPHRASE is not set."
exit
fi


# --------
# Save the passphrase to a file so we don't echo it in the logs
XILINX_PASSPHRASE_FILE=$(tempfile)

0 comments on commit 2709968

Please sign in to comment.