Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit b99060b

Browse files
committed
restore changes in shallow submodules
1 parent 650b43d commit b99060b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

download_all_stuff.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ ROOT_DIR=$(pwd)
2020
green "RESET GIT SUBMODULES"
2121
# use `git fetch --unshallow && git checkout tags/<tag>` for update
2222
git submodule update --init --recursive --depth=1 --jobs=4
23+
# restore changes
24+
git submodule foreach --recursive git restore .
2325

2426
green "CLEAN BUILD DIRS"
2527
find build/dldt/ -mindepth 1 -not -name 'dldt_setup.sh' -not -name '*.patch' -delete
2628
find build/opencv/ -mindepth 1 -not -name 'opencv_setup.sh' -delete
27-
find build/ffmpeg/ -mindepth 1 -not -name 'ffmpeg_*.sh' -delete
28-
find build/openblas/ -mindepth 1 -not -name 'openblas_setup.sh' -delete
29+
#find build/ffmpeg/ -mindepth 1 -not -name 'ffmpeg_*.sh' -delete
30+
#find build/openblas/ -mindepth 1 -not -name 'openblas_setup.sh' -delete
2931

3032
green "CLEAN WHEEL DIR"
3133
find create_wheel/cv2/ -type f -not -name '__init__.py' -delete

0 commit comments

Comments
 (0)