From 320e3dbc88803b618a8ada64859e0c5d6e43c607 Mon Sep 17 00:00:00 2001 From: Wayback Archiver <66856220+waybackarchiver@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:00:04 +0000 Subject: [PATCH] Exit without terminate --- build/redhat/entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/redhat/entrypoint.sh b/build/redhat/entrypoint.sh index 5d4aa413..782f686d 100755 --- a/build/redhat/entrypoint.sh +++ b/build/redhat/entrypoint.sh @@ -21,7 +21,10 @@ mkdir -p "${WORKDIR}/{BUILD,RPMS,SOURCES,SPECS,SRPMS}" rpmbuild -bb --define "_wayback_version ${VERSION}" "${WORKDIR}/SPECS/wayback.spec" -[[ -z "${WAYBACK_SIGNING_KEY}" ]] && exit 0 +if [ -z "${WAYBACK_SIGNING_KEY}" ]; then + echo 'Build RPM package without signing.' + exit 0 || true +fi GPG_TTY="$(tty)"