From b005a5e158388ab25bd02df100b459d4db4db4f1 Mon Sep 17 00:00:00 2001 From: pedro Date: Thu, 19 Sep 2024 13:05:52 -0300 Subject: [PATCH] workbench deploy: bugfix workbench-script copy create directory and enforce that it is copied in directory --- deploy-workbench.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy-workbench.sh b/deploy-workbench.sh index 8b13d04..a914ba8 100755 --- a/deploy-workbench.sh +++ b/deploy-workbench.sh @@ -260,8 +260,9 @@ prepare_app() { # prepare app during prepare_chroot_env # Install hardware_metadata module workbench_dir="${ISO_PATH}/chroot/opt/workbench" - ${SUDO} cp workbench-script.py "${workbench_dir}" - ${SUDO} cp requirements.txt "${workbench_dir}" + ${SUDO} mkdir -p "${workbench_dir}" + ${SUDO} cp workbench-script.py "${workbench_dir}/" + ${SUDO} cp requirements.txt "${workbench_dir}/" # startup script execution cat > "${ISO_PATH}/chroot/root/.profile" <