From: stephan b. <sg...@us...> - 2004-12-24 11:41:19
|
Update of /cvsroot/pclasses/pclasses2/toc/sbin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9742 Modified Files: toc_core.sh Log Message: Was a bit too quick there - fixed an extra }. Index: toc_core.sh =================================================================== RCS file: /cvsroot/pclasses/pclasses2/toc/sbin/toc_core.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- toc_core.sh 24 Dec 2004 11:39:44 -0000 1.2 +++ toc_core.sh 24 Dec 2004 11:41:08 -0000 1.3 @@ -163,7 +163,7 @@ ######################################################################## # _TOC_ATEXIT holds the path to this app's "atexit" code, which is # executed at app exit. -_TOC_ATEXIT=$TOP_SRCDIR}/.toc.atexit.sh +_TOC_ATEXIT=$TOP_SRCDIR/.toc.atexit.sh trap 'echo "rm $_TOC_ATEXIT" >> $_TOC_ATEXIT; $SHELL $_TOC_ATEXIT; exit;' 0 1 2 3 # ^^^^^ the 'exit' in the trap is to force a SIGINT/SIGHUP to cause an exit. # On a trap 0 the exit is redundant yet harmless. |