Skip to content

Commit ef33dc3

Browse files
committed
Merge pull request #2966 from dennisameling/fix-double-exe
Fix double .exe suffixes in CMakeLists.txt
2 parents 816dcee + 6ea6736 commit ef33dc3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

builtin/clone.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,8 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
987987

988988
git_config(platform_core_config, NULL);
989989

990+
git_config(platform_core_config, NULL);
991+
990992
packet_trace_identity("clone");
991993

992994
git_config(git_clone_config, NULL);

contrib/buildsystems/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,12 +834,12 @@ install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git-shell${EXE_EXTENS
834834

835835
foreach(b ${git_links})
836836
string(REPLACE "${CMAKE_BINARY_DIR}" "" b ${b})
837-
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b}${EXE_EXTENSION})")
837+
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b})")
838838
endforeach()
839839

840840
foreach(b ${git_http_links})
841841
string(REPLACE "${CMAKE_BINARY_DIR}" "" b ${b})
842-
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/libexec/git-core/git-remote-http${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b}${EXE_EXTENSION})")
842+
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/libexec/git-core/git-remote-http${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b})")
843843
endforeach()
844844

845845
install(PROGRAMS ${git_shell_scripts} ${git_perl_scripts} ${CMAKE_BINARY_DIR}/git-p4

0 commit comments

Comments
 (0)