aboutsummaryrefslogtreecommitdiff
path: root/dbx-link
diff options
context:
space:
mode:
Diffstat (limited to 'dbx-link')
-rwxr-xr-xdbx-link4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbx-link b/dbx-link
index 297ba02..cab4ecb 100755
--- a/dbx-link
+++ b/dbx-link
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# SPDX-License-Identifier: 0BSD
+# SPDX-License-Identifier: GPL-3.0-only
set -euo pipefail
@@ -8,7 +8,7 @@ if [[ $# -ne 1 ]]; then
exit 1
fi
-r="$HOME/.dbx"
+r="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
c="dbx"
p="$HOME/.local/share/dbx/bin"