sys-devel/icecream: fix verbose option in OpenRC init script

While at it, change the others to double quotes too.

Closes: https://bugs.gentoo.org/930946
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-04-30 04:46:10 +01:00
parent f7e98e17da
commit 4e2fa17add
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
depend() {
@@ -7,15 +7,15 @@ depend() {
}
start() {
basedir="${ICECREAM_BASEDIR:-'/var/cache/icecream'}"
verbosity="${ICECREAM_VERBOSITY:-'-v'}"
basedir="${ICECREAM_BASEDIR:-"/var/cache/icecream"}"
verbosity="${ICECREAM_VERBOSITY:-"-v"}"
netname="${ICECREAM_NETNAME:+"-n ${ICECREAM_NETNAME}"}"
iceccd_logfile="${ICECREAM_LOG_FILE:-'/var/log/icecream/iceccd'}"
iceccd_logfile="${ICECREAM_LOG_FILE:-"/var/log/icecream/iceccd"}"
nice="${ICECREAM_NICE_LEVEL:+"--nice ${ICECREAM_NICE_LEVEL}"}"
scheduler="${ICECREAM_SCHEDULER_HOST:+"-s ${ICECREAM_SCHEDULER_HOST}"}"
if [ "$ICECREAM_RUN_SCHEDULER" = 'yes' ]; then
sched_logfile="${ICECREAM_SCHEDULER_LOG_FILE:-'/var/log/icecream/scheduler'}"
sched_logfile="${ICECREAM_SCHEDULER_LOG_FILE:-"/var/log/icecream/scheduler"}"
ebegin 'Starting Distributed Compiler Scheduler'
start-stop-daemon -u icecream --start --quiet --exec /usr/sbin/icecc-scheduler -- -d -l "$sched_logfile" $netname $verbosity
@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8