Fix: interpreted '&' character 43/15743/3
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 25 Jul 2018 13:32:29 +0000 (15:32 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 26 Jul 2018 16:22:38 +0000 (16:22 +0000)
Use of '&' in CLOSING_MESSAGE is incorrectly interpreted by cmake
which tries to launch the afb-daemon when using the autobuild script.
This is not a problem since the build is finished but that produces
unwanted warning messages.

Change-Id: I910538c80539bbe6ec63cf42a7642506821bb33b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
samples.d/config.cmake.sample

index 457992b..68f8236 100644 (file)
@@ -182,7 +182,7 @@ set(AFB_REMPORT "1234" CACHE PATH "Default binder listening port")
 
 # Print a helper message when every thing is finished
 # ----------------------------------------------------
-set(CLOSING_MESSAGE "Typical binding launch: cd ${CMAKE_BINARY_DIR}/package && afb-daemon --port=${AFB_REMPORT} --workdir=. --ldpaths=lib --roothttp=htdocs  --token=\"${AFB_TOKEN}\" --tracereq=common --verbose")
+set(CLOSING_MESSAGE "Typical binding launch: cd ${CMAKE_BINARY_DIR}/package \\&\\& afb-daemon --port=${AFB_REMPORT} --workdir=. --ldpaths=lib --roothttp=htdocs  --token=\"${AFB_TOKEN}\" --tracereq=common --verbose")
 set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt")
 
 # Optional schema validator about now only XML, LUA and JSON