Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changes to launch scripts to handle spaces

  • Loading branch information...
commit a815bffc4093da5b1c767f88ee31bf33c6943b3e 1 parent abee016
@Keno authored
View
4 contrib/windows/julia.bat
@@ -6,8 +6,8 @@
pushd %cd%
setlocal enableextensions enabledelayedexpansion
-call %~dp0prepare-julia-env.bat %*
-call %JULIA_HOME%julia-release-readline.exe %*
+call "%~dp0prepare-julia-env.bat" %*
+call "%JULIA_HOME%julia-release-readline.exe" %*
endlocal
popd
View
3  contrib/windows/prepare-julia-env.bat
@@ -13,5 +13,6 @@ for %%A in (%JULIA_EXE%) do set JULIA_HOME=%%~dp$PATH:A
set JULIA=%JULIA_HOME%%JULIA_EXE%
set PATH=%JULIA_HOME%..\lib\julia;%JULIA_HOME%..\lib;.;%SYS_PATH%;%~dp0\Git\bin
set HOME=%JULIA_HOME%..\..
+set JL_PRIVATE_LIBDIR=lib\julia
-if not exist %JULIA_HOME%..\lib\julia\sys.ji (echo "Preparing Julia for first launch. This may take a while" && cd %JULIA_HOME%..\share\julia\base && %JULIA% -b sysimg.jl && popd && pushd %cd%)
+if not exist "%JULIA_HOME%..\lib\julia\sys.ji" (echo "Preparing Julia for first launch. This may take a while" && echo "You may see two git related errors. This is completely normal" && cd "%JULIA_HOME%..\share\julia\base" && "%JULIA%" -b sysimg.jl && popd && pushd %cd%)
Please sign in to comment.
Something went wrong with that request. Please try again.