Skip to content

Commit

Permalink
oops, replace ; to fix unexpected eof from trap
Browse files Browse the repository at this point in the history
  • Loading branch information
garyjg committed Dec 13, 2023
1 parent c9525f4 commit b060a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/build_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b060a7e

Please sign in to comment.