kernels: Fix annoying error in shell scripts

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2017-04-28 17:40:42 +01:00
parent f54d884183
commit 835a3d2e4d
2 changed files with 3 additions and 3 deletions

View File

@ -21,5 +21,5 @@ for KERN_DEB in $KERNELS; do
# Doesn't exist build and push
docker build -t ${REPO}:${VERSION} -f Dockerfile.deb --no-cache \
--build-arg DEB_URLS="${URLS}" . &&
DOCKER_CONTENT_TRUST=1 docker push ${REPO}:${VERSION})
DOCKER_CONTENT_TRUST=1 docker push ${REPO}:${VERSION}
done

View File

@ -25,10 +25,10 @@ for KERN_DEB in $KERNELS; do
# HDR_ARCH_DEB=$(echo $LINKS | \
# grep -o "linux-headers-${VERSION}-generic_[^ ]\+_${ARCH}\.deb")
URLS="${BASE_URL}/${KERN_DEB} ${BASE_URL}/${EXTRA_DEB} ${BASE_URL}/${HDR_DEB} ${BASE_URL}/${HDR_ARCH_DEB}"
URLS="${BASE_URL}/${KERN_DEB} ${BASE_URL}/${EXTRA_DEB}"
# Doesn't exist build and push
docker build -t ${REPO}:${VERSION} -f Dockerfile.deb --no-cache \
--build-arg DEB_URLS="${URLS}" . &&
DOCKER_CONTENT_TRUST=1 docker push ${REPO}:${VERSION})
DOCKER_CONTENT_TRUST=1 docker push ${REPO}:${VERSION}
done