From 531c1fe72cd33006366cd4d45a4362c3fc22a6d6 Mon Sep 17 00:00:00 2001 From: Philippe Sauter Date: Wed, 11 Mar 2026 15:18:19 +0100 Subject: [PATCH] scripts: fix mounted directory in start_vnc --- README.md | 4 +++- scripts/start_vnc.bat | 2 +- scripts/start_vnc.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f1812082..c341ea3d 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,9 @@ This should connect you to the VNC server, the password is `abc123`, then test b You should see the files in this repository again. Now you should be in an Ubuntu environment with all tools pre-installed for you. -If something does not work, refer to the upstream [IIC-OSIC-Tools](https://github.com/iic-jku/IIC-OSIC-TOOLS/tree/main) +If something does not work, refer to the upstream [IIC-OSIC-Tools](https://github.com/iic-jku/IIC-OSIC-TOOLS/tree/main). + +To stop the VNC server, run the start script again and then select between stopping or stop and remove the running docker container. #### Native install (hard) diff --git a/scripts/start_vnc.bat b/scripts/start_vnc.bat index 3484e314..47bfd1d4 100644 --- a/scripts/start_vnc.bat +++ b/scripts/start_vnc.bat @@ -19,7 +19,7 @@ REM ======================================================================== SETLOCAL -SET DESIGNS=%~dp0 +SET DESIGNS=%~dp0.. REM Convert Windows path to Unix style for Docker compatibility FOR /f "tokens=1,* delims=:" %%A IN ("%DESIGNS%") DO ( SET DRIVE_LETTER=%%A diff --git a/scripts/start_vnc.sh b/scripts/start_vnc.sh index 8e223004..f5fc57ff 100755 --- a/scripts/start_vnc.sh +++ b/scripts/start_vnc.sh @@ -25,7 +25,7 @@ if [ -n "${DRY_RUN}" ]; then fi # SET YOUR DESIGN PATH RIGHT! -DESIGNS="$(realpath $(dirname "${BASH_SOURCE[0]}"))" +DESIGNS="$(realpath "$(dirname "${BASH_SOURCE[0]}")/..")" if [ -z ${DESIGNS+z} ]; then DESIGNS=$HOME/eda/designs