random
This commit is contained in:
parent
5a7b9bb323
commit
cb93741050
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ set -eu
|
||||||
|
|
||||||
# make the GIT_DIR and GIT_INDEX_FILE absolute, before we change dir
|
# make the GIT_DIR and GIT_INDEX_FILE absolute, before we change dir
|
||||||
export GIT_DIR=$(readlink -f `git rev-parse --git-dir`)
|
export GIT_DIR=$(readlink -f `git rev-parse --git-dir`)
|
||||||
if [ -n ${GIT_INDEX_FILE+x} ]; then
|
if [ -n "${GIT_INDEX_FILE:+x}" ]; then
|
||||||
export GIT_INDEX_FILE=$(readlink -f "$GIT_INDEX_FILE")
|
export GIT_INDEX_FILE=$(readlink -f "$GIT_INDEX_FILE")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Reference in a new issue