We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ecbd5a commit f521b0eCopy full SHA for f521b0e
scripts/symlink-bins.sh
@@ -1,4 +1,4 @@
1
#!/usr/bin/env bash
2
for file in "${1:-.}"/bin/*; do
3
- ln -sf "$file" "/usr/local/bin/$(basename "$file")"
+ ln -sf "$(realpath "$file")" "/usr/local/bin/$(basename "$file")"
4
done
0 commit comments