Skip to content

Commit fde3e95

Browse files
authored
Merge pull request #2966 from dennisameling/fix-double-exe
Fix double .exe suffixes in CMakeLists.txt
2 parents 18da6db + 6ea6736 commit fde3e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: contrib/buildsystems/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -828,12 +828,12 @@ install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git-shell${EXE_EXTENS
828828

829829
foreach(b ${git_links})
830830
string(REPLACE "${CMAKE_BINARY_DIR}" "" b ${b})
831-
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b}${EXE_EXTENSION})")
831+
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/bin/git${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b})")
832832
endforeach()
833833

834834
foreach(b ${git_http_links})
835835
string(REPLACE "${CMAKE_BINARY_DIR}" "" b ${b})
836-
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})")
836+
install(CODE "file(CREATE_LINK ${CMAKE_INSTALL_PREFIX}/libexec/git-core/git-remote-http${EXE_EXTENSION} ${CMAKE_INSTALL_PREFIX}/libexec/git-core/${b})")
837837
endforeach()
838838

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

0 commit comments

Comments
 (0)