From 77c4ba79a5b6d5f501c3e5c34ddeb907d3fd6ac6 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Thu, 21 Sep 2023 23:26:52 +0300 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4928574..2504a57 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,16 +1,7 @@ #!/bin/bash -#echo 'export PATH=root/gn:"$PATH"' >> ${HOME}/.bashrc +. /workdir/ncs/zephyr/zephyr-env.sh +/bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -t arm-zephyr-eabi +/bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -c -#. ${HOME}/.bashrc - -#echo 'export PATH=root/.local/bin:"$PATH"' >> ~/.bashrc - -#. ~/.bashrc - -. /root/gn/zephyr/zephyr-env.sh -/bin/bash /root/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -t arm-zephyr-eabi -#/bin/bash /root/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -h -/bin/bash /root/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -c - -$@ +exec $@