Tools: use greadlink for macos systems
This commit is contained in:
parent
c459f6c484
commit
ba7187e31b
@ -1,6 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
DIR=$(dirname $(readlink -f $0))
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
DIR=$(dirname $(greadlink -f $0))
|
||||
else
|
||||
DIR=$(dirname $(readlink -f $0))
|
||||
fi
|
||||
|
||||
astyle --options="${DIR}"/astylerc $*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user