]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
* tools/run-with-tmp-session-bus.sh: fixed script to replace the
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 2 Nov 2006 19:28:11 +0000 (19:28 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 2 Nov 2006 19:28:11 +0000 (19:28 +0000)
  <standard_session_servicedirs> tag with a <sevicedir> tag that
  points to the test service directory

tools/run-with-tmp-session-bus.sh

index 3ef3b39eeef0416826a63a3843833373bef737ba..c04e23857e02904f14e54f317c5ff0e5435820f0 100755 (executable)
@@ -28,7 +28,7 @@ echo "escaped service dir is: $ESCAPED_SERVICE_DIR" >&2
 
 ## create a configuration file based on the standard session.conf
 cat $DBUS_TOP_BUILDDIR/bus/session.conf |  \
-    sed -e 's/<servicedir>.*$/<servicedir>'$ESCAPED_SERVICE_DIR'<\/servicedir>/g' |  \
+    sed -e 's/<standard_session_servicedirs.*$/<servicedir>'$ESCAPED_SERVICE_DIR'<\/servicedir>/g' |  \
     sed -e 's/<include.*$//g'                \
   > $CONFIG_FILE