We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a36d6 commit 09aeedaCopy full SHA for 09aeeda
hack/kubelet-plugin-prestart.sh
@@ -20,7 +20,7 @@ if [ "${NVIDIA_DRIVER_ROOT}" != "/" ]; then
20
21
# Remove trailing slash (if existing) and get last elem: /a/b/c -> c,
22
# /a/b/c/ -> c
23
- _driver_root_basename=$("${NVIDIA_DRIVER_ROOT%/}" | xargs basename)
+ _driver_root_basename=$(echo "${NVIDIA_DRIVER_ROOT%/}" | xargs basename)
24
echo "create symlink: /driver-root -> /driver-root-parent/${_driver_root_basename}"
25
ln -s "/driver-root-parent/${_driver_root_basename}" /driver-root
26
fi
0 commit comments