mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
boinc-app.eclass: allow non-standard runtime dir
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
a681b42cac
commit
3a44a689c6
@ -71,6 +71,12 @@ if [[ ! ${_BOINC_APP_ECLASS} ]]; then
|
|||||||
You have to attach to the corresponding project
|
You have to attach to the corresponding project
|
||||||
in order to use this application with BOINC.}
|
in order to use this application with BOINC.}
|
||||||
|
|
||||||
|
# @ECLASS_VARIABLE: BOINC_RUNTIMEDIR
|
||||||
|
# @USER_VARIABLE
|
||||||
|
# @DEFAULT_UNSET
|
||||||
|
# @DESCRIPTION:
|
||||||
|
# Directory with BOINC runtime data.
|
||||||
|
|
||||||
# @FUNCTION: boinc-app_add_deps
|
# @FUNCTION: boinc-app_add_deps
|
||||||
# @USAGE: [--wrapper]
|
# @USAGE: [--wrapper]
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
@ -104,11 +110,9 @@ boinc_master_url_check() {
|
|||||||
|
|
||||||
# @FUNCTION: get_boincdir
|
# @FUNCTION: get_boincdir
|
||||||
# @USAGE:
|
# @USAGE:
|
||||||
# @RETURN: non-prefixed default BOINC runtime directory
|
# @RETURN: non-prefixed BOINC runtime directory
|
||||||
get_boincdir() {
|
get_boincdir() {
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
echo "${BOINC_RUNTIMEDIR:-/var/lib/boinc}"
|
||||||
|
|
||||||
echo /var/lib/boinc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# @FUNCTION: get_project_dirname
|
# @FUNCTION: get_project_dirname
|
||||||
|
Loading…
x
Reference in New Issue
Block a user