mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 13:00:10 -06:00
Use less readlink for osx peeps.
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
# This is a randomish md5 to identify this script
|
||||
# 4d9958c90bc262f47553e2c073f14cfe
|
||||
|
||||
HERE=$(dirname $(readlink -f "$0"))
|
||||
pushd `dirname $0` > /dev/null
|
||||
HERE=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
retv=0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user