little workaround BSD abspaths

This commit is contained in:
ville rantanen
2019-04-12 13:46:41 +03:00
parent 5678c7e8f9
commit 93b02c5161
7 changed files with 12 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ for (( i=1; i<=$#; i++ )); do
[[ "${!i}" = "-h" ]] && _help
[[ "${!i}" = *"help" ]] && _help
done
SELF=$( dirname $( readlink -f "$0" ) )
SELF=$( dirname $( abs-path "$0" ) )
[[ "$1" == build ]] && _build "$2" "$3"
[[ "$1" == autobuild ]] && _autobuild "$2" "$3"