summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-26 00:30:15 -0400
committermidipix <writeonce@midipix.org>2016-10-26 00:31:46 -0400
commit60c2b4b59dcea026bc4e094e6cc9db8b45dba445 (patch)
treeb2f0d650ab314d2188fee09276b157007d1d5573
parent147066ca35270e5ab1fcd97f84f36a704431b61e (diff)
downloadntcon-60c2b4b59dcea026bc4e094e6cc9db8b45dba445.tar.bz2
ntcon-60c2b4b59dcea026bc4e094e6cc9db8b45dba445.tar.xz
build system: configure: truly fix .git/index dependency logic.
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b27e002..98efb4f 100755
--- a/configure
+++ b/configure
@@ -138,10 +138,10 @@ common_defaults()
# git
if [ -n "$mb_source_dir" ]; then
if [ -d "$mb_source_dir/.git" ]; then
- mb_git_reference_index="\$(SOURCE_DIR)/.git"
+ mb_git_reference_index="\$(SOURCE_DIR)/.git/index"
fi
elif [ -d "$mb_project_dir/.git" ]; then
- mb_git_reference_index="\$(PROJECT_DIR)/.git"
+ mb_git_reference_index="\$(PROJECT_DIR)/.git/index"
fi
# project