diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile
index 1891aa0ee4d186af4c9b30852d43cca9108b827e..637eec672e5870f2667bb572ddfb3886a5690cd2 100644
--- a/containers/jug/dev.Dockerfile
+++ b/containers/jug/dev.Dockerfile
@@ -84,8 +84,8 @@ ARG EICSPACK_VERSION="$SPACK_VERSION"
 RUN git clone https://github.com/eic/eic-spack.git ${EICSPACK_ROOT}     \
  && git -C ${EICSPACK_ROOT} checkout ${EICSPACK_VERSION}                \
  && if [ -n "${EICSPACK_CHERRYPICKS}" ] ; then                          \
-      git -C ${EICSPACK_ROOT} cherry-pick -n ${SPACK_CHERRYPICKS} ;     \
-    fi  
+      git -C ${EICSPACK_ROOT} cherry-pick -n ${EICSPACK_CHERRYPICKS} ;  \
+    fi                                                                  \
  && spack repo add --scope site "${EICSPACK_ROOT}"
 
 ## Setup our custom environment