From 5ebe41efbff704877b3f9237ff0e71e42f0bd16d Mon Sep 17 00:00:00 2001 From: SalimTerryLi Date: Mon, 11 Oct 2021 12:15:06 +0800 Subject: [PATCH] pilotpi: fix upload cmake --- boards/scumaker/pilotpi/cmake/upload.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/scumaker/pilotpi/cmake/upload.cmake b/boards/scumaker/pilotpi/cmake/upload.cmake index d9a75e97ed..f3ff69c4cb 100644 --- a/boards/scumaker/pilotpi/cmake/upload.cmake +++ b/boards/scumaker/pilotpi/cmake/upload.cmake @@ -46,7 +46,7 @@ endif() add_custom_target(upload COMMAND rsync -arh --progress ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/pilotpi*.config ${PX4_BINARY_DIR}/etc # source - \$\{AUTOPILOT_USER\}@\$\{AUTOPILOT_HOST\}:/home/\$\{AUTOPILOT_USER\}/px4 # destination + "${AUTOPILOT_USER}@${AUTOPILOT_HOST}:/home/${AUTOPILOT_USER}/px4" # destination DEPENDS px4 COMMENT "uploading px4" USES_TERMINAL