summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
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 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