Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x 14cb98647 -> 5713c2512


[KARAF-5245] Fix karaf.bat with path contains spaces


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/5713c251
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/5713c251
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/5713c251

Branch: refs/heads/karaf-4.0.x
Commit: 5713c25125811310b49b1a86dc1b4f3575bc6ee7
Parents: 14cb986
Author: Jean-Baptiste Onofré <jbono...@apache.org>
Authored: Mon Aug 7 07:25:12 2017 +0200
Committer: Jean-Baptiste Onofré <jbono...@apache.org>
Committed: Mon Aug 7 07:25:12 2017 +0200

----------------------------------------------------------------------
 .../features/base/src/main/resources/resources/bin/karaf.bat     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/5713c251/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
----------------------------------------------------------------------
diff --git 
a/assemblies/features/base/src/main/resources/resources/bin/karaf.bat 
b/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
index 9419f0e..c287025 100644
--- a/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
+++ b/assemblies/features/base/src/main/resources/resources/bin/karaf.bat
@@ -77,8 +77,8 @@ if "%KARAF_BASE%" == "" (
 if not "%KARAF_DATA%" == "" (
     if not exist "%KARAF_DATA%" (
         call :warn KARAF_DATA is not valid: "%KARAF_DATA%"
-        call :warn Creating %KARAF_DATA%
-        mkdir %KARAF_DATA%
+        call :warn Creating "%KARAF_DATA%"
+        mkdir "%KARAF_DATA%"
     )
 )
 if "%KARAF_DATA%" == "" (

Reply via email to