From 1e9b8a36cd9db5ad7743e860fbaadcfc3100f000 Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Wed, 16 Mar 2022 21:57:20 +0800 Subject: [PATCH] fixed 5db802d from https://gitee.com/houhaoyu/interface_sdk-js/pulls/1213 fixed 8d08d9d from https://gitee.com/houhaoyu/interface_sdk-js/pulls/1212 houhaoyu@huawei.com cancel ignore @system Signed-off-by: houhaoyu Change-Id: I6c424126d52d85567c13cd58d4e60ee36d2d9ab4 --- remove_internal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remove_internal.py b/remove_internal.py index 3fcfb446e6..d62f5647bd 100755 --- a/remove_internal.py +++ b/remove_internal.py @@ -18,7 +18,7 @@ def copy_files(input_path, output_path): dst = os.path.join(output_path, file) if os.path.isdir(src) and (not file in remove_list): shutil.copytree(src, dst, dirs_exist_ok=True) - elif os.path.isfile(src) and (not file.startswith('@system')): + elif os.path.isfile(src): shutil.copy(src, dst) -- Gitee