Correction passage arguments sur dpkg-buildpackage, fixes #1
This commit is contained in:
parent
8bc0d15df6
commit
c1073a210e
7
package
7
package
|
@ -102,6 +102,11 @@ function main {
|
|||
# Target architecture
|
||||
docker_opt="${docker_opt} -e TARGET_ARCH=${TARGET_ARCH}"
|
||||
|
||||
# If running in terminal, set docker to interactive
|
||||
if [[ -t 1 ]]; then
|
||||
docker_opt="${docker_opt} -it"
|
||||
fi
|
||||
|
||||
if [[ ${PERSIST_CONTAINER} -eq 0 ]]
|
||||
then
|
||||
docker_opt="${docker_opt} --rm "
|
||||
|
@ -163,7 +168,7 @@ done
|
|||
[[ -z ${TARGET_ARCH} ]] && TARGET_ARCH=amd64
|
||||
|
||||
if [[ "${TARGET_ARCH}" =~ ^i[0-9]86$ ]] && [ -z "${BASE_IMAGE}" ]; then
|
||||
info "32bit architecture specified and no specific image given, switching to 32bit image..."
|
||||
info "32bit architecture specified and no specific image given, switching to default 32bit image..."
|
||||
BASE_IMAGE=${DEFAULT_32_IMAGE}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue