gnucash maint: Use plain cat instead of cmake -E cat to join the migratable-prefs.
John Ralls
jralls at code.gnucash.org
Wed Sep 29 13:35:33 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/28501779 (commit)
from https://github.com/Gnucash/gnucash/commit/29e7b07e (commit)
commit 285017793d2c0c9f5a8d52b3db42944480e3f557
Author: John Ralls <jralls at ceridwen.us>
Date: Wed Sep 29 10:35:19 2021 -0700
Use plain cat instead of cmake -E cat to join the migratable-prefs.
Cmake -E's cat is too new.
diff --git a/gnucash/gschemas/CMakeLists.txt b/gnucash/gschemas/CMakeLists.txt
index 63da362f4..8b81a0161 100644
--- a/gnucash/gschemas/CMakeLists.txt
+++ b/gnucash/gschemas/CMakeLists.txt
@@ -29,7 +29,7 @@ set(gschema_migration_files ${local_migration_files} CACHE INTERNAL "gschema mig
# Provide gnucash runtime with a list of migratable preferences
add_custom_command(
OUTPUT ${DATADIR_BUILD}/${PROJECT_NAME}/migratable-prefs.xml
- COMMAND ${CMAKE_COMMAND} -E cat ${gschema_migration_files} > ${DATADIR_BUILD}/${PROJECT_NAME}/migratable-prefs.xml
+ COMMAND cat ${gschema_migration_files} > ${DATADIR_BUILD}/${PROJECT_NAME}/migratable-prefs.xml
DEPENDS ${gschema_migration_files}
)
Summary of changes:
gnucash/gschemas/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list