summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-26 00:18:08 -0400
committermidipix <writeonce@midipix.org>2016-10-26 00:19:46 -0400
commitcd1b675bdd33028ac68478430369a3d2819ae5ab (patch)
treeaa3dfbd772709f425c2b9a66c3a18c54188abf17
parente86561402248b6f4a6f7a4e267cc241d7bd54e82 (diff)
downloadapimagic-cd1b675bdd33028ac68478430369a3d2819ae5ab.tar.bz2
apimagic-cd1b675bdd33028ac68478430369a3d2819ae5ab.tar.xz
build system: configure: fix .git/index dependency logic.
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6875689..b27e002 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_dir="\$(SOURCE_DIR)/.git"
+ mb_git_reference_index="\$(SOURCE_DIR)/.git"
fi
elif [ -d "$mb_project_dir/.git" ]; then
- mb_git_reference_dir="\$(PROJECT_DIR)/.git"
+ mb_git_reference_index="\$(PROJECT_DIR)/.git"
fi
# project