From 16aa0f3eafce43527a10320b36ea1083d4b5dcbe Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 3 Jan 2018 14:18:21 -0500 Subject: makechrootpkg: Adjust to work properly with `set -e` This worked properly until eab5aba. --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf