summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-04-30 04:46:10 +0100
committerSam James <sam@gentoo.org>2024-04-30 04:46:10 +0100
commit4e2fa17adda32c2ae41c41a36d59390ba786485d (patch)
treeb3b410de8eb50cadfed70a5e69c2fb24da3fc1f9 /sys-devel/icecream/files/icecream.openrc
parentapp-shells/bash: drop shellcheck annotations; fix readline version (diff)
downloadgentoo-4e2fa17adda32c2ae41c41a36d59390ba786485d.tar.gz
gentoo-4e2fa17adda32c2ae41c41a36d59390ba786485d.tar.bz2
gentoo-4e2fa17adda32c2ae41c41a36d59390ba786485d.zip
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>
Diffstat (limited to 'sys-devel/icecream/files/icecream.openrc')
-rw-r--r--sys-devel/icecream/files/icecream.openrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-devel/icecream/files/icecream.openrc b/sys-devel/icecream/files/icecream.openrc
index b574874b2075..116d440cb1c4 100644
--- a/sys-devel/icecream/files/icecream.openrc
+++ b/sys-devel/icecream/files/icecream.openrc
@@ -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