ENH: limit the output of system information to no more than 50K per file
This commit is contained in:
parent
8e702e6977
commit
971f9e4869
|
@ -72,7 +72,7 @@ MACRO(DUMP_FILE THE_FILE)
|
||||||
FILE(APPEND "${RESULT_FILE}"
|
FILE(APPEND "${RESULT_FILE}"
|
||||||
"=================================================================\n")
|
"=================================================================\n")
|
||||||
|
|
||||||
FILE(READ "${THE_FILE}" FILE_CONTENTS)
|
FILE(READ "${THE_FILE}" FILE_CONTENTS LIMIT 50000)
|
||||||
FILE(APPEND "${RESULT_FILE}" "${FILE_CONTENTS}")
|
FILE(APPEND "${RESULT_FILE}" "${FILE_CONTENTS}")
|
||||||
ENDIF (EXISTS "${THE_FILE}")
|
ENDIF (EXISTS "${THE_FILE}")
|
||||||
ENDMACRO(DUMP_FILE)
|
ENDMACRO(DUMP_FILE)
|
||||||
|
|
Loading…
Reference in New Issue