fix push script

This commit is contained in:
pikastech 2022-08-06 23:29:14 +08:00
parent e61e4716ac
commit 63b3ef11d4
2 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ fi
# check if test/python/$pkg folder is exit
if [ -d "test/python/$pkg" ] ; then
echo "$FLAG_INFO python test files added:"
rm ../../examples/$pkg/* -rf
rm ../../examples/$pkg -rf
mkdir ../../examples/$pkg
cp test/python/$pkg/*.py ../../examples/$pkg -r
git add test/python/$pkg
git add ../../examples/$pkg