From 5ab4395daad0d260ad31da54eb2da1455e11c9f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8F=9C?= Date: Fri, 1 Dec 2017 23:53:25 +0800 Subject: [PATCH] =?UTF-8?q?%JAVA=5FHOME%=E5=AF=B9=E5=BA=94=E7=9A=84?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=A6=82=E6=9E=9C=E6=9C=89=E7=A9=BA=E6=A0=BC?= =?UTF-8?q?=E5=88=99=E4=BC=9A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.cmd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.cmd b/build.cmd index 242f592..e5e2d65 100644 --- a/build.cmd +++ b/build.cmd @@ -34,16 +34,16 @@ :sso-server @echo Stating sso server... - cd %CURR_DIR%/sso-server + cd "%CURR_DIR%/sso-server" start "sso-server" build.cmd run - cd %CURR_DIR% + cd "%CURR_DIR%" @goto:eof :sso-management @echo Stating cas management... - cd %CURR_DIR%/sso-management + cd "%CURR_DIR%/sso-management" start "sso-management" build.cmd run - cd %CURR_DIR% + cd "%CURR_DIR%" @goto:eof :sso-config @@ -100,7 +100,7 @@ @echo 127.0.0.1 passport.sso.com >>C:\WINDOWS\system32\drivers\etc\hosts ::if exist "tomcat.cer" (echo file exists delete... & del tomcat.cer) ::echo Enter password: "123456" - ::keytool -exportcert -alias passport.sso.com -keystore %CURR_DIR%/sso-server/src/main/resources/tomcat.keystore -file tomcat.cer -rfc + ::keytool -exportcert -alias passport.sso.com -keystore "%CURR_DIR%/sso-server/src/main/resources/tomcat.keystore" -file tomcat.cer -rfc ::echo Enter password: "changeit" and next to Y - ::keytool -import -alias passport.sso.com -keystore %JAVA_HOME%\jre\lib\security\cacerts -file tomcat.cer -trustcacerts + ::keytool -import -alias passport.sso.com -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -file tomcat.cer -trustcacerts @goto:eof -- Gitee