This should make things run more nicely on systems like FreeBSD, where bash isn't installed in /bin.
7 lines
97 B
Bash
Executable File
7 lines
97 B
Bash
Executable File
#!/usr/bin/env bash
|
|
case $(uname -s) in
|
|
FreeBSD) realpath "$@" ;;
|
|
*) readlink -f "$@" ;;
|
|
esac
|
|
|