Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Do not attempt to access literal dirname "GIT_OBJECT_DIRECTORY".
[gitweb.git]
/
setup.c
diff --git
a/setup.c
b/setup.c
index cc44a724bf3220de1cb8a3ef818e581905d7265c..3286a568ed4c7d4c82bb18d779f05518fe05c9b3 100644
(file)
--- a/
setup.c
+++ b/
setup.c
@@
-116,7
+116,7
@@
static const char *setup_git_directory_1(void)
if (validate_symref(path))
goto bad_dir_environ;
if (getenv(DB_ENVIRONMENT)) {
- if (access(
DB_ENVIRONMENT
, X_OK))
+ if (access(
getenv(DB_ENVIRONMENT)
, X_OK))
goto bad_dir_environ;
}
else {