From 63b3ef11d40dd980a91d76d89866f2d94ce128cc Mon Sep 17 00:00:00 2001 From: pikastech Date: Sat, 6 Aug 2022 23:29:14 +0800 Subject: [PATCH] fix push script --- examples/{unittest => unittest/test1.py} | 0 port/linux/pkg-push.sh | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename examples/{unittest => unittest/test1.py} (100%) diff --git a/examples/unittest b/examples/unittest/test1.py similarity index 100% rename from examples/unittest rename to examples/unittest/test1.py diff --git a/port/linux/pkg-push.sh b/port/linux/pkg-push.sh index bc09cfeb5..20d3b23b8 100644 --- a/port/linux/pkg-push.sh +++ b/port/linux/pkg-push.sh @@ -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