pidgin: 00361407: added a cleanup function to remove our a...
grim at pidgin.im
grim at pidgin.im
Tue Oct 27 20:27:21 EDT 2009
-----------------------------------------------------------------
Revision: 00361407ca19528d29e8f9184449814a7a1df990
Ancestor: 7b1d6e64a003d7c813ccd017489ecaed2b0e9201
Author: grim at pidgin.im
Date: 2009-10-27T23:36:28
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/00361407ca19528d29e8f9184449814a7a1df990
Modified files:
autogen.sh
ChangeLog:
added a cleanup function to remove our autogen-?????? files when autogen receives SIGINT
-------------- next part --------------
============================================================
--- autogen.sh af752cae6b2e1c098fcd355ceb93b5df70d07179
+++ autogen.sh 6e17f4da3c000937e6a4e589fb3b58e6f54ccb0d
@@ -99,9 +99,17 @@ run_or_die () { # beotch
fi
}
+cleanup () {
+ rm -f autogen-??????
+ echo
+ exit 2
+}
+
###############################################################################
# We really start here, yes, very sneaky!
###############################################################################
+trap cleanup 2
+
FIGLET=`which figlet 2> /dev/null`
if [ x"${FIGLET}" != x"" ] ; then
${FIGLET} -f small ${PACKAGE}
More information about the Commits
mailing list