summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-03-12 16:53:37 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-03-12 16:53:37 -0500
commit6a7ea8d275687ae75c1e06e73934922ba63fe61a (patch)
treee835d8984d6ec86171c98ace660f40fdcfe5e3fc /packaging
parentab7d1c7f6c168b44e965cac34b550489e14580e9 (diff)
made Xsession script POSIX-compliant, simplified it
Diffstat (limited to 'packaging')
-rw-r--r--packaging/debian/70monkeysphere_use-validation-agent10
1 files 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