karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: [KARAF-5245] Fix karaf.bat with path contains spaces
Date Mon, 07 Aug 2017 05:23:15 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 05f30c633 -> 9de0cdf8a


[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/9de0cdf8
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/9de0cdf8
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/9de0cdf8

Branch: refs/heads/master
Commit: 9de0cdf8a7b523a4c509b6f7c61290b20c9fd575
Parents: 05f30c6
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Mon Aug 7 07:22:52 2017 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Mon Aug 7 07:22:52 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/karaf/blob/9de0cdf8/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
----------------------------------------------------------------------
diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
index affeaf4..1f95c21 100644
--- a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
+++ b/assemblies/features/base/src/main/filtered-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%" == "" (


Mime
View raw message