diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-09 20:51:30 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-09 20:51:30 (GMT) |
commit | 83343c59c9e54b74b7343c8b03f8c041d3e9cdd8 (patch) | |
tree | abf2c2921d0c8c4ccc18ce141bf091b6d8cfa422 /bootstrap | |
parent | 796e82da9d58a628e7887224d0696dcddeec7a4c (diff) | |
download | CMake-83343c59c9e54b74b7343c8b03f8c041d3e9cdd8.zip CMake-83343c59c9e54b74b7343c8b03f8c041d3e9cdd8.tar.gz CMake-83343c59c9e54b74b7343c8b03f8c041d3e9cdd8.tar.bz2 |
BUG: Remove awk, remove problems and add full spaces in the path support
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -878,8 +878,9 @@ for a in ${CMAKE_CXX_SOURCES} ${CMAKE_C_SOURCES} ${KWSYS_CXX_SOURCES} ${KWSYS_C_ done # Generate dependencies for cmBootstrapCommands.cxx -cmBootstrapCommandsDepsDir=`cmake_escape "${cmake_source_dir}/Source/"` -cmBootstrapCommandsDeps=`grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands.cxx" | sed "s/.* \"\(.*\)\"/\1/" | awk "{ print \"${cmBootstrapCommandsDepsDir}\" \\$1}"` +for file in `grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands.cxx" | sed "s/.* \"\(.*\)\"/\1/"`; do + cmBootstrapCommandsDeps="${cmBootstrapCommandsDeps} `cmake_escape "${cmake_source_dir}/Source/$file"`" +done cmBootstrapCommandsDeps=`echo $cmBootstrapCommandsDeps` if [ "x${cmake_ansi_cxx_flags}" != "x" ]; then |