mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
rtdev-setup-releases: fix compatibility issues with older git versions
This commit is contained in:
parent
e689e42d70
commit
94bbcc5d87
@ -38,12 +38,13 @@ fi
|
|||||||
cd $RT_DEST_DIR
|
cd $RT_DEST_DIR
|
||||||
git init
|
git init
|
||||||
|
|
||||||
## Some versions of git and/or OS require these fields
|
if [ -z "$(git config --list 2>&1 | grep unknown)" ]; then
|
||||||
git config --local user.name "Riak Test"
|
git config --local user.name "Riak Test"
|
||||||
git config --local user.email "dev@basho.com"
|
git config --local user.email "dev@basho.com"
|
||||||
git config --local core.autocrlf input
|
git config --local core.autocrlf input
|
||||||
git config --local core.safecrlf false
|
git config --local core.safecrlf false
|
||||||
git config --local core.filemode true
|
git config --local core.filemode true
|
||||||
|
fi
|
||||||
|
|
||||||
## this prevents priv/*.so files from being deleted by git clean -fd
|
## this prevents priv/*.so files from being deleted by git clean -fd
|
||||||
## (the latter is executed in rtdev-current.sh):
|
## (the latter is executed in rtdev-current.sh):
|
||||||
|
Loading…
Reference in New Issue
Block a user