Update recipes/nvcc/install_nvcc.sh
@@ -23,7 +23,7 @@ then
echo "Cannot find: ${CUDA_HOME}/lib64/stubs/libcuda.so"
exit 1
fi
-grep "CUDA Version ${PKG_VERSION}" /usr/local/cuda/version.txt &>/dev/null
+grep "CUDA Version ${PKG_VERSION}" ${CUDA_HOME}/version.txt &>/dev/null
if [[ $? -ne 0 ]]
then
echo "Version of installed CUDA didn't match package"
