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:30:15 -0400
commitbb38c3a31c1a09dc816c9148540191adf9bfebdc (patch)
tree89b3cb4e5e3ca1b42eba18153b5f34715ec28cb5
parent4d9930dc2efec77ab3ed6d26455f67802681d1eb (diff)
downloadsofort-bb38c3a31c1a09dc816c9148540191adf9bfebdc.tar.bz2
sofort-bb38c3a31c1a09dc816c9148540191adf9bfebdc.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