mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use less readlink for osx peeps.
This commit is contained in:
parent
81c4298e5f
commit
f63fa850c9
2 changed files with 17 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue