diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile index 592868f4d2413cf34711f3429e5b0d2397cc6637..f0c9564a8748905935062bc48f7eef11aac0ed5c 100644 --- a/containers/jug/dev.Dockerfile +++ b/containers/jug/dev.Dockerfile @@ -47,7 +47,7 @@ if [ -n "${SPACK_CHERRYPICKS}" ] ; then for hash in ${SPACK_CHERRYPICKS} ; do if [ -n "${SPACK_CHERRYPICKS_FILES_ARRAY[${hash}]+found}" ] ; then git -C ${SPACK_ROOT} show ${hash} -- ${SPACK_CHERRYPICKS_FILES_ARRAY[${hash}]//,/ } | patch -p1 -d ${SPACK_ROOT} - git -C ${SPACK_ROOT} commit --message "$(git show --no-patch --pretty=format:%s ${hash})" + git -C ${SPACK_ROOT} commit --message "$(git show -C ${SPACK_ROOT} --no-patch --pretty=format:%s ${hash})" else git -C ${SPACK_ROOT} cherry-pick ${hash} fi