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:57:11 -0500
commite990ee409f33ca24b6dbc60530c8bd6f0ccf85bb (patch)
tree43fd2d03fc5ae95d2fc4eb247c17407ed09651a7
parentb5856cda2a5e1be18d2685eff2c05fe0dba2487f (diff)
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 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