makechrootpkg: Adjust to work properly with `set -e`

This worked properly until eab5aba.
This commit is contained in:
Luke Shumaker 2018-01-15 17:57:00 +01:00 committed by Bartłomiej Piotrowski
parent aee72cae32
commit 75ad2aca57
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ EOF
{ {
printf '#!/bin/bash\n' printf '#!/bin/bash\n'
declare -f _chrootbuild declare -f _chrootbuild
declare -p SOURCE_DATE_EPOCH 2>/dev/null declare -p SOURCE_DATE_EPOCH 2>/dev/null || true
printf '_chrootbuild "$@" || exit\n' printf '_chrootbuild "$@" || exit\n'
if [[ $run_namcap = true ]]; then if [[ $run_namcap = true ]]; then