summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-19 02:32:29 -0400
committermidipix <writeonce@midipix.org>2016-05-19 02:32:29 -0400
commit269f6f2d577983e1a37081b6c18c2d555ed1aced (patch)
tree77fae7a1f8de10ed5437b9edd88ee93b0a367fa3 /configure
parentf1b1ab8ab43c9227e0e08fc2055e76a2d7660952 (diff)
downloadsofort-269f6f2d577983e1a37081b6c18c2d555ed1aced.tar.bz2
sofort-269f6f2d577983e1a37081b6c18c2d555ed1aced.tar.xz
build system: when building from a git repo, explicitly depend on .git/index.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 4dacc2a..b6f0f48 100755
--- a/configure
+++ b/configure
@@ -30,7 +30,7 @@ init_vars()
# git
if [ -d "$mb_project_dir/.git" ]; then
- mb_git_reference_dir="\$(PROJECT_DIR)/.git"
+ mb_git_reference_index="\$(PROJECT_DIR)/.git/index"
fi
# project
@@ -355,7 +355,7 @@ config_copy()
sed -e 's^@package@^'"$mb_package"'^g' \
-e 's^@nickname@^'"$mb_nickname"'^g' \
-e 's^@project_dir@^'"$mb_project_dir"'^g' \
- -e 's^@git_reference_dir@^'"$mb_git_reference_dir"'^g' \
+ -e 's^@git_reference_index@^'"$mb_git_reference_index"'^g' \
-e 's^@custom_install_headers@^'"$mb_custom_install_headers"'^g' \
-e 's^@avoid_version@^'"$mb_avoid_version"'^g' \
\