From b6cc8c1acc61d8d4837dad7017cc48e3fd2d05ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 14 Dec 2015 12:35:19 +0000 Subject: [PATCH] merged changes --- scripts/build-in-docker.sh | 1 - scripts/resolve-debbuilddeps.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build-in-docker.sh b/scripts/build-in-docker.sh index fc13547..4fc1652 100755 --- a/scripts/build-in-docker.sh +++ b/scripts/build-in-docker.sh @@ -113,7 +113,6 @@ function traperror() { fi echo fi - echo "**** Entering docker container ${DOCKER_ID}, exit with Ctrl-D" echo -n " ... cleanup docker: " docker rm -f "${DOCKER_ID}" echo "returning status: $e" diff --git a/scripts/resolve-debbuilddeps.sh b/scripts/resolve-debbuilddeps.sh index 1fd672c..ecd5522 100755 --- a/scripts/resolve-debbuilddeps.sh +++ b/scripts/resolve-debbuilddeps.sh @@ -35,7 +35,7 @@ TO_INSTALL= if test -e debian/control.in -a ! -e debian/control; then for f in $(sed -n 's, *AX_DEB_DEPEND_IFEXISTS(\([^)]*\)).*,\1,p' configure.ac); do - if test -n "$(${DO} apt-cache policy -q ${f})" && ! ${DO} dpkg -l "${f}"; then + if test -n "$(${DO} apt-cache policy -q ${f})" && ! "$(${DO} apt-cache policy ${f} 2>&1 | grep -q 'N: Unable to locate package')" && ! ${DO} dpkg -l "${f}"; then TO_INSTALL+=" ${f}" fi done