diff options
author | midipix <writeonce@midipix.org> | 2016-05-19 02:32:29 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:49 -0500 |
commit | 97a8e75ab5f502bc4dcb5c3b3389052e87763ef2 (patch) | |
tree | c68171e01f7f5cfb7ac848af6f677c2dda974fc1 /configure | |
parent | 3f4b6334c2ec4b5a201ad64831dbd9d820a84808 (diff) | |
download | perk-97a8e75ab5f502bc4dcb5c3b3389052e87763ef2.tar.bz2 perk-97a8e75ab5f502bc4dcb5c3b3389052e87763ef2.tar.xz |
build system: when building from a git repo, explicitly depend on .git/index.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' \ \ |