Skip to content

Commit

Permalink
[script] perserving the permission when cp openthread files
Browse files Browse the repository at this point in the history
  • Loading branch information
superwhd committed Oct 18, 2024
1 parent ded4908 commit a243dd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/make-firmware.bash
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ build_ot()
rm -rf openthread
# git_archive_all doesn't accept symbolic link, so make a copy of openthread and make
# it not a submodule
cp -r ../openthread .
cp -rp ../openthread .
rm openthread/.git

# Build
Expand Down
2 changes: 1 addition & 1 deletion script/otbr-setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ apt-get install -y --no-install-recommends git python3-pip
su -c "DOCKER=1 ${build_options[*]} script/bootstrap" pi

rm -rf /home/pi/repo/ot-br-posix/third_party/openthread/repo
cp -r /home/pi/repo/openthread /home/pi/repo/ot-br-posix/third_party/openthread/repo
cp -rp /home/pi/repo/openthread /home/pi/repo/ot-br-posix/third_party/openthread/repo

apt-get purge -y cmake
pip3 install scikit-build
Expand Down

0 comments on commit a243dd3

Please sign in to comment.