We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ee9826 + 87676a4 commit decaa36Copy full SHA for decaa36
server/src/get-options.sh
@@ -1,6 +1,7 @@
1
#!/usr/bin/env bash
2
3
-DATADIR="$(pkg-config --variable=datadir bash-completion)"
+COMPLETIONSDIR="$(pkg-config --variable=completionsdir bash-completion)"
4
+DATADIR="$(dirname "$(dirname "${COMPLETIONSDIR}")")"
5
6
# Exit if bash-completion isn't installed.
7
if (( $? != 0 ))
0 commit comments