Wednesday, September 3, 2014

[Discuss-gnuradio] Minor patch to config file placement

Subject: [PATCH] gnuradio-runtime: config file placement was not consistent

---
 gnuradio-runtime/CMakeLists.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnuradio-runtime/CMakeLists.txt b/gnuradio-runtime/CMakeLists.txt
index 1f94242..7660642 100644
--- a/gnuradio-runtime/CMakeLists.txt
+++ b/gnuradio-runtime/CMakeLists.txt
@@ -136,7 +136,7 @@ install(
 if(ENABLE_GR_LOG AND HAVE_LOG4CPP)
 install(FILES
     ${CMAKE_CURRENT_SOURCE_DIR}/gr_log_default.conf
-    DESTINATION ${GR_CONF_DIR}/gnuradio
+    DESTINATION ${GR_PREFSDIR}
     COMPONENT "runtime_runtime"
 )
 endif(ENABLE_GR_LOG AND HAVE_LOG4CPP)
--
1.7.1


gr_log_default.conf was getting placed in /usr/etc/gnuradio instead of /etc/gnuradio/conf.d (or wherever, depending on compile directives).
Nick

No comments:

Post a Comment