Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compiles on Windows, "install dvm" and http fetching now work.
- Loading branch information
Abscissa
committed
May 23, 2011
1 parent
b76c380
commit 229d215
Showing
11 changed files
with
118 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@echo off | ||
|
||
set dvm_prefix=%APPDATA%\ | ||
set dvm_path=%dvm_prefix%dvm | ||
|
||
set dvm_tmp_path=%dvm_path%/tmp | ||
set dvm_result_path=%dvm_tmp_path%/result.bat | ||
set dvm_bin_path=%dvm_path%/bin | ||
set dvm_exe_path=%dvm_bin_path%/dvm.exe | ||
set dvm_default_env_path=%dvm_path%/env/default | ||
set dvm_default_bin_path=%dvm_bin_path%/dvm-default-dc | ||
set dvm_current_path=%dvm_bin_path%/dvm-current-dc | ||
|
||
set PATH=%dvm_bin_path%;%PATH% | ||
|
||
if exist "%dvm_exe_path%" ( | ||
call "%dvm_default_env_path%" | ||
) | ||
|
||
copy /Y "%dvm_default_bin_path%" "%dvm_current_path%" > NUL | ||
|
||
if exist "%dvm_exe_path%" ( | ||
"%dvm_exe_path%" %* | ||
) | ||
|
||
if exist "%dvm_result_path%" ( | ||
call "%dvm_result_path%" | ||
) | ||
|
||
del /Q /F /S "%dvm_tmp_path%" > NUL |