dbus/tools run-with-tmp-session-bus.sh,1.2,1.3
John Palmieri
johnp at kemper.freedesktop.org
Thu Aug 10 14:44:02 PDT 2006
Update of /cvs/dbus/dbus/tools
In directory kemper:/tmp/cvs-serv29267/tools
Modified Files:
run-with-tmp-session-bus.sh
Log Message:
* tools/run-with-tmp-session-bus.sh:
* test/name-test/run-test.sh:
Remove bashisms (patch from Julio M. Merino Vidal
<jmmv at NetBSD dot org>)
Index: run-with-tmp-session-bus.sh
===================================================================
RCS file: /cvs/dbus/dbus/tools/run-with-tmp-session-bus.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- run-with-tmp-session-bus.sh 8 Aug 2006 22:38:32 -0000 1.2
+++ run-with-tmp-session-bus.sh 10 Aug 2006 21:44:00 -0000 1.3
@@ -4,7 +4,7 @@
WRAPPED_SCRIPT=$1
shift
-function die()
+die()
{
if ! test -z "$DBUS_SESSION_BUS_PID" ; then
echo "killing message bus "$DBUS_SESSION_BUS_PID >&2
@@ -19,7 +19,7 @@
fi
## convenient to be able to ctrl+C without leaking the message bus process
-trap 'die "Received SIGINT"' SIGINT
+trap 'die "Received SIGINT"' INT
CONFIG_FILE=./run-with-tmp-session-bus.conf
SERVICE_DIR="$DBUS_TOP_BUILDDIR/test/data/valid-service-files"
More information about the dbus-commit
mailing list