summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/boinc/files')
-rw-r--r--sci-misc/boinc/files/boinc.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 6e31db676682..88bf507201cf 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -30,9 +30,9 @@ generate_logs() {
}
cuda_check() {
- if [[ -f /opt/cuda/%LIBDIR%/libcudart.so ]]; then
+ if [[ -f /opt/cuda/lib/libcudart.so ]]; then
# symlink wont harm :]
- ln -snf /opt/cuda/%LIBDIR%/libcudart.so ${RUNTIMEDIR}/libcudart.so
+ ln -snf /opt/cuda/lib/libcudart.so ${RUNTIMEDIR}/libcudart.so
fi
}