summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-01-03 14:18:21 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2018-01-03 14:59:11 -0500
commit16aa0f3eafce43527a10320b36ea1083d4b5dcbe (patch)
treef892bc50f3db932be564fc63a8a887e681d956db
parentb6252a0b6cd229fa315cecd06478d8bf0476ac1c (diff)
downloaddevtools-16aa0f3eafce43527a10320b36ea1083d4b5dcbe.tar.xz
makechrootpkg: Adjust to work properly with `set -e`
This worked properly until eab5aba.
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 5a2e32a..c92a786 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -224,7 +224,7 @@ Server = file:///repo
{
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