From: Daniel Kahn Gillmor Date: Fri, 12 Mar 2010 21:53:37 +0000 (-0500) Subject: made Xsession script POSIX-compliant, simplified it X-Git-Tag: monkeysphere_0.29~22 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6a7ea8d275687ae75c1e06e73934922ba63fe61a;p=monkeysphere.git made Xsession script POSIX-compliant, simplified it --- 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