summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-01-15 17:57:00 +0100
committerBartłomiej Piotrowski <bpiotrowski@archlinux.org>2018-01-21 14:16:10 +0100
commit75ad2aca572d36c4df1b07153e2403534fbd89ed (patch)
tree43fd2d03fc5ae95d2fc4eb247c17407ed09651a7 /makechrootpkg.in
parentaee72cae3231811058d6993d71f97e449e477d8f (diff)
downloaddevtools-75ad2aca572d36c4df1b07153e2403534fbd89ed.tar.xz
makechrootpkg: Adjust to work properly with `set -e`
This worked properly until eab5aba.
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index c7fe076..a6c54cc 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -205,7 +205,7 @@ EOF
{
printf '#!/bin/bash\n'
declare -f _chrootbuild
- declare -p SOURCE_DATE_EPOCH 2>/dev/null
+ declare -p SOURCE_DATE_EPOCH 2>/dev/null || true
printf '_chrootbuild "$@" || exit\n'
if [[ $run_namcap = true ]]; then