Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
deb
annotate-output.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File annotate-output.patch of Package deb
Index: devscripts-2.10.62/scripts/annotate-output.sh =================================================================== --- devscripts-2.10.62.orig/scripts/annotate-output.sh +++ devscripts-2.10.62/scripts/annotate-output.sh @@ -63,10 +63,14 @@ if [ $# -lt 1 ]; then exit 1 fi -OUT=`mktemp /tmp/annotate.XXXXXX` || exit 1 -ERR=`mktemp /tmp/annotate.XXXXXX` || exit 1 +cleanup() { __st=$?; rm -rf "$tmp"; exit $__st; } +trap cleanup 0 +trap 'exit $?' 1 2 13 15 + +tmp=$(mktemp -d --tmpdir annotate.XXXXXX) || exit 1 +OUT=$tmp/out +ERR=$tmp/err -rm -f $OUT $ERR mkfifo $OUT $ERR || exit 1 addtime O < $OUT &
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor