From e332765fe9df991b0a12162dd78e34e1b22d813d Mon Sep 17 00:00:00 2001 From: Benny0Li Date: Wed, 21 Aug 2024 21:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20zipper.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zipper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipper.sh b/zipper.sh index 7e83cb9..6547b15 100644 --- a/zipper.sh +++ b/zipper.sh @@ -4,8 +4,8 @@ programPath=${zipperParentPathName}/TeamCode/src/main/java/org/firstinspires/ftc echo ParentPath "${zipperParentPathName}" echo ProgramPath "${programPath}" -cd ${programPath} || exit +cd "${programPath}" || exit rm -i RIC.zip zip -r RIC.zip ./ cd "${zipperParentPathName}" || exit -mv ${programPath}/RIC.zip "${zipperParentPathName}" \ No newline at end of file +mv "${programPath}"/RIC.zip "${zipperParentPathName}" \ No newline at end of file