POETSII / Orchestrator

The Orchestrator is the configuration and run-time management system for POETS platforms.
1 stars 1 forks source link

Extra slash in CmDepl.cpp's file manipulation commands #279

Closed heliosfa closed 2 years ago

heliosfa commented 2 years ago

On Development head, an extra slash appears in the file manipulation commands generated at around line 293 of CmDepl.cpp.;

e.g. the actual executed commands for the runs I am currently doing ends up as

rm -r -f /home/gmb/.orchestrator/app_binaries//Reactive6__reactive6

instead of

rm -r -f /home/gmb/.orchestrator/app_binaries/Reactive6__reactive6

This is a due to a combination of a trailing slash being included in remote_mship (Orchestrator.ocfg:30) and the filename formation code on CmDepl.cpp:279 blindly adding a slash.