dev-util/buildbot: Fix missed checkconfig section bug 661618
authorBrian Dolbec dolsen <dolsen@gentoo.org>
Thu, 26 Jul 2018 18:14:24 +0000 (11:14 -0700)
committerBrian Dolbec dolsen <dolsen@gentoo.org>
Thu, 26 Jul 2018 18:14:49 +0000 (11:14 -0700)
Adds RUNTIME_PYTHON default setting to the init.d script

Gentoo-bug: https://bugs.gentoo.org/661618
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-util/buildbot/files/buildmaster.initd

index 933c6e2b4e5154e4f0da365fef13c5b712d58254..b75ae34830d464c681b4b77c4136428daf19117d 100644 (file)
@@ -32,6 +32,9 @@ checkconfig() {
                eerror "${BUILDMASTER_PATH} does not contain buildbot.tac"
                return 1
        fi
+       if [ ! -e "${RUNTIME_PYTHON}" ]; then
+               RUNTIME_PYTHON="/usr/bin/python"
+       fi
 }
 
 start() {