Skip to content

Commit 129d4e8

Browse files
[LNT] Make sure the #! from the previous fix is on the first line
1 parent 1036bce commit 129d4e8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cmake/caches/util/xcode_sdk.cmake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ if (CMAKE_C_COMPILER)
2727

2828
macro(create_shim VARIABLE TOOLNAME)
2929
xcrun_find(SDK_TOOL_BIN ${TOOLNAME})
30-
file(WRITE ${CMAKE_BINARY_DIR}/${TOOLNAME} "
31-
#!/bin/bash
30+
file(WRITE ${CMAKE_BINARY_DIR}/${TOOLNAME} "#!/bin/bash
3231
# Shim to have the tool use the correct libLTO.dylib
33-
DYLD_LIBRARY_PATH=\"${COMPILER_DIR}/../lib:$DYLD_LIBRARY_PATH\" ${SDK_TOOL_BIN} $@
34-
")
32+
DYLD_LIBRARY_PATH=\"${COMPILER_DIR}/../lib:$DYLD_LIBRARY_PATH\" ${SDK_TOOL_BIN} $@")
3533
execute_process(COMMAND chmod +x ${CMAKE_BINARY_DIR}/${TOOLNAME})
3634
set(${VARIABLE} ${CMAKE_BINARY_DIR}/${TOOLNAME} CACHE STRING "")
3735
endmacro()

0 commit comments

Comments
 (0)