[telepathy-glib/master] with-session-bus.sh: fix a bashism
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Jan 21 03:57:57 PST 2010
Redirecting both stdout and stderr with &> doesn't work in dash.
Reviewed-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
---
tools/with-session-bus.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/with-session-bus.sh b/tools/with-session-bus.sh
index 9e3ecbe..063bd7e 100644
--- a/tools/with-session-bus.sh
+++ b/tools/with-session-bus.sh
@@ -79,7 +79,7 @@ export DBUS_SESSION_BUS_ADDRESS
if [ -n "$WITH_SESSION_BUS_FORK_DBUS_MONITOR" ] ; then
echo -n "Forking dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT" >&2
dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT \
- &> $me-$$.dbus-monitor-logs &
+ > $me-$$.dbus-monitor-logs 2>&1 &
fi
"$@" || e=$?
--
1.5.6.5
More information about the telepathy-commits
mailing list