Skip to content
Snippets Groups Projects
Commit 84d4d6c2 authored by Lennart Kramer's avatar Lennart Kramer
Browse files

use right variable name

parent f86db336
Branches
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ IMAGENAME="$5/goemaxima:$3"
# check if the image already exists on the server
docker pull "${IMAGENAME}"
# build it
if [ "$stack" = "2017121800" ]; then
if [ "$3" = "2017121800" ]; then
docker build -t "${IMAGENAME}" --build-arg MAXIMA_VERSION="$2" --build-arg SBCL_VERSION="$1" --build-arg LIB_PATH="$4" --build-arg "MAX_LIB_PATH=/opt/maxima/assets/maximalocal.mac" . || exit 1
else
docker build -t "${IMAGENAME}" --build-arg MAXIMA_VERSION="$2" --build-arg SBCL_VERSION="$1" --build-arg LIB_PATH="$4" . || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment