From ff25446fd4bbb9c8513924c28f3cd603cee7f8c2 Mon Sep 17 00:00:00 2001 From: CarmJos Date: Sat, 8 Jan 2022 02:32:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95Javadoc=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .scripts/copy-javadoc.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.scripts/copy-javadoc.sh b/.scripts/copy-javadoc.sh index 94fdea6..ba8631b 100644 --- a/.scripts/copy-javadoc.sh +++ b/.scripts/copy-javadoc.sh @@ -3,15 +3,15 @@ mkdir -vp docs DOC_URL="target/site/apidocs" -for FILE_NAME in easyplugin-*; do +for FILE in easyplugin-*; do - if test -e "$FILE_NAME/$DOC_URL"; then + if test -e "$FILE/$DOC_URL"; then - MODULE_FILE="docs/${FILE_NAME:11}/" + MODULE_FILE="docs/${FILE:11}/" mkdir -vp "$MODULE_FILE" - cp -vrf "$FILE_NAME"/"$DOC_URL"/* "$MODULE_FILE" + cp -vrf "$FILE"/"$DOC_URL"/* "$MODULE_FILE" fi