summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-23 19:47:46 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-23 19:47:46 +0000
commitdee161d967be437a824a86b624202afb6d3d920f (patch)
tree9668679c4118f8d6f413b90df83cef47f86c3ed0 /sci-misc
parentVersion bump (diff)
downloadgentoo-2-dee161d967be437a824a86b624202afb6d3d920f.tar.gz
gentoo-2-dee161d967be437a824a86b624202afb6d3d920f.tar.bz2
gentoo-2-dee161d967be437a824a86b624202afb6d3d920f.zip
Fix quoting in attach and stop.
(Portage version: 2.2.0_alpha35/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc/ChangeLog5
-rw-r--r--sci-misc/boinc/files/boinc.init4
2 files changed, 6 insertions, 3 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog
index 9882251b9ae5..693c3fd95efa 100644
--- a/sci-misc/boinc/ChangeLog
+++ b/sci-misc/boinc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-misc/boinc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.99 2011/05/23 13:00:27 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.100 2011/05/23 19:47:46 scarabeus Exp $
+
+ 23 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> files/boinc.init:
+ Fix quoting in attach and stop.
*boinc-6.12.26-r1 (23 May 2011)
diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 8df428bb1aa5..c24359930e46 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -81,7 +81,7 @@ attach() {
password=$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")
ebegin "${SVCNAME}: Attaching to project"
- su -m ${USER} -c "boinccmd --passwd "${password}" --project_attach ${url} ${key}"
+ su -m ${USER} -c "boinccmd --passwd \"${password}\" --project_attach ${url} ${key}"
eend $?
unset password url key
@@ -96,7 +96,7 @@ stop() {
password=$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")
ebegin "Stopping ${SVCNAME}"
- su -m ${USER} -c "boinccmd --passwd "${password}" --quit"
+ su -m ${USER} -c "boinccmd --passwd \"${password}\" --quit"
eend $?
unset password