Commit 27cd13d9 authored by Michele Compostella's avatar Michele Compostella

Fixed build.sh not downloading GAP

parent 8800e5a2
......@@ -48,26 +48,28 @@ EMAIL=$3
ORGANIZATION=$4
# GAP license
if [ ! -f ./software/GAP.tar.gz ] && [ "$GAP" != "I accept" ]; then
echo
echo "You need to accept the GAP license to create this Docker container"
echo "The GAP suite — Non-commercial License Agreement is available at:"
echo " http://www.libatoms.org/gap/gap_download.html"
echo
echo "Read the Agreement at the link in full."
echo "Only if you accept the Agreement, type 'I accept' followed by [ENTER]."
read GAP
if [ ! -f ./software/GAP.tar.gz ]; then
if [ "$GAP" != "I accept" ]; then
echo "You did not accept the GAP license. Leaving installation process.."
trap - EXIT
exit
echo
echo "You need to accept the GAP license to create this Docker container"
echo "The GAP suite — Non-commercial License Agreement is available at:"
echo " http://www.libatoms.org/gap/gap_download.html"
echo
echo "Read the Agreement at the link in full."
echo "Only if you accept the Agreement, type 'I accept' followed by [ENTER]."
read GAP
if [ "$GAP" != "I accept" ]; then
echo "You did not accept the GAP license. Leaving installation process.."
trap - EXIT
exit
fi
echo "Enter your name for the GAP license"
read NAME
echo "Enter your email address for the GAP license"
read EMAIL
echo "Enter your organization name for the GAP license"
read ORGANIZATION
fi
echo "Enter your name for the GAP license"
read NAME
echo "Enter your email address for the GAP license"
read EMAIL
echo "Enter your organization name for the GAP license"
read ORGANIZATION
# Downloading GAP in ./software/
echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment