little workaround BSD abspaths
This commit is contained in:
6
files/abs-path
Executable file
6
files/abs-path
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
case $OSTYPE in
|
||||
darwin*) exec realpath "$1" ;;
|
||||
*) exec readlink -f "$1" ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user