mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user