aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-01-21 16:14:53 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-01-21 16:14:53 +0100
commitd31c53c01d5b674fe1fe0a040d4ec51ddfd1c464 (patch)
tree53f289be70ac28010de9edf53b385a09d733b282 /sci-misc
parentadd boinc-bin. Cuda not created there is library ${S}/libcudart.so which (diff)
downloadsci-d31c53c01d5b674fe1fe0a040d4ec51ddfd1c464.tar.gz
sci-d31c53c01d5b674fe1fe0a040d4ec51ddfd1c464.tar.bz2
sci-d31c53c01d5b674fe1fe0a040d4ec51ddfd1c464.zip
Fix bug 137224. Wrong attach usage.
Note: i will close it and when this boinc versions are passed to the tree it will be just updated.
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc-bin/files/boinc.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-misc/boinc-bin/files/boinc.init b/sci-misc/boinc-bin/files/boinc.init
index 8a2543faa..be7639765 100644
--- a/sci-misc/boinc-bin/files/boinc.init
+++ b/sci-misc/boinc-bin/files/boinc.init
@@ -59,6 +59,8 @@ attach() {
svc_start
fi
ebegin "Attaching to project"
+ # we have to work in runtime directory
+ cd ${RUNTIMEDIR}
# boinc cmd does not return 1 when it fails currently
boinc_cmd --project_attach ${url} ${key} &> /dev/null
eend $?