Wang1rrr opened a new issue, #6969:
URL: https://github.com/apache/rocketmq-dashboard/issues/6969

   ### Description
   `deploy/deploy.sh` expands `REMOTE_PATH` unquoted inside remote shell 
commands. An otherwise valid installation directory containing a space makes 
the prerequisite check fail (`test -f /opt/RocketMQ Studio/.env` receives extra 
arguments). The same splitting affects upload, build and compose commands; the 
Maven bind mounts also split a remote working directory or home directory 
containing spaces.
   
   ### Reproduction
   Set `REMOTE_PATH` to an existing directory such as `/opt/RocketMQ Studio` 
with the required `.env`, then run the deployment script. The prerequisite 
check incorrectly reports that `.env` is missing.
   
   ### Expected behavior
   Treat configured paths as single shell arguments throughout the remote 
commands and Docker bind mounts.
   
   ### Version
   `rocketmq-studio` at c34535db0819d02f68e50a856cb3d2614f0dc5dd.
   
   I plan a focused quoting fix with shell-command regression coverage using 
local SSH/Docker stubs, without contacting a deployment host.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to