source: main/trunk/greenstone3/ext-cli/get-subversion-windows-64bit.bat@ 37511

Last change on this file since 37511 was 37511, checked in by davidb, 14 months ago

bootstrap files to get going with svn on the command-line in Windows

  • Property svn:executable set to *
File size: 694 bytes
Line 
1@echo off
2
3setlocal
4cd /d %~dp0
5
6REM For notes on unzipping at the command-line, se:
7REM https://superuser.com/questions/1314420/how-to-unzip-a-file-using-the-cmd
8
9if not exist subversion-windows-64bit.zip (
10 curl https://trac.greenstone.org/export/37508/main/trunk/greenstone3/ext-cli/subversion-windows-64bit.zip ^
11 > subversion-windows-64bit.zip
12) else (
13 echo.
14 echo The file subversion-windows-64bit.zip already exists
15 echo No need to download
16 echo.
17)
18
19
20if not exist subversion-windows-64bit (
21 tar -xvf subversion-windows-64bit.zip
22) else (
23 echo.
24 echo The directory subversion-windows-64bit already exists
25 echo No need to unzip
26 echo.
27)
28
Note: See TracBrowser for help on using the repository browser.