aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-07 12:04:20 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-07 12:04:20 +0200
commite475d27e5f67d0efa61f91d3aa971c23226fc318 (patch)
tree9a9d4ae3f8ae9a7567f77873e3fcac9e98fce762
parente2fefbf8af58f6a465778cb73dfd8910f693ee8d (diff)
Fix: wrong extension of configured files
Remove the ".in" template extension from filenames which have to be correctly named. Change-Id: I8128f5fa64d5fa914a717c18fbba14fc43de4935 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--cmake/cmake.d/02-macros.cmake1
-rw-r--r--gdb/gdb-on-target.ini.in (renamed from gdb/gdb-on-target.in)0
-rw-r--r--ssh/start-on-target.sh.in (renamed from ssh/start-on-target.in)0
-rw-r--r--wgt/install-wgt-on-target.sh.in (renamed from wgt/install-wgt-on-target.in)0
4 files changed, 1 insertions, 0 deletions
diff --git a/cmake/cmake.d/02-macros.cmake b/cmake/cmake.d/02-macros.cmake
index fd0c43b..7444214 100644
--- a/cmake/cmake.d/02-macros.cmake
+++ b/cmake/cmake.d/02-macros.cmake
@@ -42,6 +42,7 @@ macro(configure_files_in_dir dir)
foreach(file ${filelist})
get_filename_component(filename ${file} NAME)
string(REGEX REPLACE "target" "${RSYNC_TARGET}" destinationfile ${filename})
+ string(REGEX REPLACE ".in$" "" destinationfile ${destinationfile})
configure_file(${file} ${CMAKE_CURRENT_BINARY_DIR}/target/${destinationfile})
endforeach()
endmacro(configure_files_in_dir)
diff --git a/gdb/gdb-on-target.in b/gdb/gdb-on-target.ini.in
index 0478e90..0478e90 100644
--- a/gdb/gdb-on-target.in
+++ b/gdb/gdb-on-target.ini.in
diff --git a/ssh/start-on-target.in b/ssh/start-on-target.sh.in
index 9e3a60d..9e3a60d 100644
--- a/ssh/start-on-target.in
+++ b/ssh/start-on-target.sh.in
diff --git a/wgt/install-wgt-on-target.in b/wgt/install-wgt-on-target.sh.in
index 39a69d5..39a69d5 100644
--- a/wgt/install-wgt-on-target.in
+++ b/wgt/install-wgt-on-target.sh.in