From b060a7e4853a4f61dc7313eb7fe4f3af40ec5736 Mon Sep 17 00:00:00 2001 From: Gary Granger Date: Wed, 13 Dec 2023 10:24:39 -0700 Subject: [PATCH] oops, replace ; to fix unexpected eof from trap --- rpm/build_rpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/build_rpm.sh b/rpm/build_rpm.sh index b79829e3a..37b23c54d 100755 --- a/rpm/build_rpm.sh +++ b/rpm/build_rpm.sh @@ -57,7 +57,7 @@ topdir=${TOPDIR:-$(rpmbuild --eval %_topdir)$host} [ -d $topdir/RPMS ] || mkdir -p $topdir/RPMS log=`mktemp /tmp/${script}_XXXXXX.log` -trap "{ rm -f $log }" EXIT +trap "{ rm -f $log; }" EXIT set -o pipefail