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