summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-26 00:30:15 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:55 -0500
commit414a20876ae2db74ace347321b2eda96773563b2 (patch)
tree0eb66a594eac650c87c292f0c66c0cc0eea5cf2a /configure
parent03c493db3c9450279c2c3374dbeec2a5b5212294 (diff)
downloadperk-414a20876ae2db74ace347321b2eda96773563b2.tar.bz2
perk-414a20876ae2db74ace347321b2eda96773563b2.tar.xz
build system: configure: truly fix .git/index dependency logic.
Diffstat (limited to 'configure')
-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