Skip to content

Commit

Permalink
exit if XILINX_PASSPHRASE is not set
Browse files Browse the repository at this point in the history
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 2709968
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/get-env.sh
Expand Up @@ -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)
Expand Down

0 comments on commit 2709968

Please sign in to comment.