Merge pull request #1740 from rneugeba/kern-fix

kernels: Fix annoying error in shell scripts
This commit is contained in:
Rolf Neugebauer 2017-04-28 18:28:33 +01:00 committed by GitHub
commit 6708264c7a
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