From 6a7ea8d275687ae75c1e06e73934922ba63fe61a Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 12 Mar 2010 16:53:37 -0500 Subject: [PATCH] made Xsession script POSIX-compliant, simplified it --- packaging/debian/70monkeysphere_use-validation-agent | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packaging/debian/70monkeysphere_use-validation-agent b/packaging/debian/70monkeysphere_use-validation-agent index 1335458..4723f5c 100644 --- a/packaging/debian/70monkeysphere_use-validation-agent +++ b/packaging/debian/70monkeysphere_use-validation-agent @@ -26,12 +26,12 @@ MSSYSCONFIG=/etc/monkeysphere/monkeysphere.conf MSUSERCONFIG="$HOME/.monkeysphere/monkeysphere.conf" if [ -x "$MSVAGENT" ] ; then - USEMSVAGENT=$(sh -c "USE_VALIDATION_AGENT= -. '$MSSYSCONFIG' 2>/dev/null -. '$MSUSERCONFIG' 2>/dev/null || : -printf '%s' "'"$USE_VALIDATION_AGENT"') + USEMSVAGENT=$(USE_VALIDATION_AGENT= +. "$MSSYSCONFIG" 2>/dev/null +. "$MSUSERCONFIG" 2>/dev/null || : +printf '%s' "$USE_VALIDATION_AGENT") - if [ "$USEMSVAGENT" == "true" ] ; then + if [ "$USEMSVAGENT" = "true" ] ; then STARTUP="$MSVAGENT $STARTUP" fi fi -- 2.26.2