better build in docker
This commit is contained in:
		| @@ -163,7 +163,7 @@ for repo in "${repos[@]}"; do | ||||
|     ifthenelse "${repo}" "apt-add-repository ARG" | ||||
| done | ||||
| for key in "${keys[@]}"; do | ||||
|     wget -O-  \ | ||||
|     wget -O- "$key" \ | ||||
|         | docker exec -i ${DOCKER_ID} apt-key add - | ||||
| done | ||||
| docker exec ${DOCKER_ID} apt-get update | ||||
|   | ||||
| @@ -45,7 +45,7 @@ if test -e debian/control.in -a ! -e debian/control; then | ||||
| fi | ||||
|  | ||||
| install dpkg-dev | ||||
| DEPS=$(${DO} dpkg-checkbuilddeps 2>&1 || true) | ||||
| DEPS=$(LANG= ${DO} dpkg-checkbuilddeps 2>&1 || true) | ||||
| DEPS=$(echo "$DEPS" | sed -n '/Unmet build dependencies/ { s,.*Unmet build dependencies: ,,g; s, ([^)]*),,g; s, *| *,|,g; p}') | ||||
|  | ||||
| for pa in ${DEPS}; do | ||||
|   | ||||
		Reference in New Issue
	
	Block a user