Skip to content

Commit 57c3f87

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge pull request #2966 from dennisameling/fix-double-exe
Fix double .exe suffixes in CMakeLists.txt
2 parents 51f0c53 + 69c1213 commit 57c3f87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/buildsystems/CMakeLists.txt

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

841841
foreach(b ${git_links})
842842
string(REPLACE "${CMAKE_BINARY_DIR}" "" b ${b})
843-
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b}${EXE_EXTENSION})")
843+
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b})")
844844
endforeach()
845845

846846
foreach(b ${git_http_links})
847847
string(REPLACE "${CMAKE_BINARY_DIR}" "" b ${b})
848-
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})")
848+
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/libexec/git-core/git-remote-http${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b})")
849849
endforeach()
850850

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

0 commit comments

Comments
 (0)