File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,5 @@ RUN git clone https://git.code.sf.net/p/stm32flash/code stm32flash-code && \
2121RUN git clone https://github.com/RT-Thread/env.git /env/tools/scripts && \
2222 git clone https://github.com/RT-Thread/packages.git /env/packages/packages
2323COPY entrypoint.sh /entrypoint.sh
24- COPY entrypoint.sh /entrypoint.sh
2524RUN chmod +x /entrypoint.sh
2625ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 11#! /bin/sh
2- if [ ! -d ~ /.env ]; then
3- ln /env ~ /.env -s
4- fi
5- export PATH=$PATH :~ /.env/tools/scripts
2+ ln /env $HOME /.env -s
3+ export PATH=$PATH :$HOME /.env/tools/scripts
64sed -i -e ' s/CONFIG_SYS_PKGS_DOWNLOAD_ACCELERATE=y/CONFIG_SYS_PKGS_DOWNLOAD_ACCELERATE=n/g' /env/tools/scripts/cmds/.config
7- pwd
8- if [ -f SConstruct ]; then
5+ if [ -r SConstruct ]; then
96 pkgs --printenv
107 pkgs --list
118 pkgs --update
@@ -19,5 +16,6 @@ if [ -f SConstruct ]; then
1916 scons
2017 fi
2118else
19+ pkgs --help
2220echo " fogret checkout?"
2321fi
You can’t perform that action at this time.
0 commit comments