From 35da3e05ae7c4c290ac8aa0f4fd726fd30b109bc Mon Sep 17 00:00:00 2001 From: VIKING Date: Sun, 12 Jan 2025 14:04:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/Packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Packages.sh b/Scripts/Packages.sh index b11f37f8a4..8bfc5f2715 100644 --- a/Scripts/Packages.sh +++ b/Scripts/Packages.sh @@ -13,7 +13,7 @@ UPDATE_PACKAGE() { git clone --depth=1 --single-branch --branch $PKG_BRANCH "https://github.com/$PKG_REPO.git" if [[ $PKG_SPECIAL == "pkg" ]]; then - find ./$REPO_NAME/*/ -maxdepth 3 -type d -iname "*$PKG_NAME*" -prune | xargs -I {} cp -rf {} ./ + find ./$REPO_NAME/*/ -maxdepth 3 -type d -iname "*$PKG_NAME*" -prune -exec cp -rf {} ./ \; rm -rf ./$REPO_NAME/ elif [[ $PKG_SPECIAL == "name" ]]; then mv -f $REPO_NAME $PKG_NAME