Mercurial > dotfiles
annotate install.cmd @ 424:d8086f81b9c8
Pathogen config files.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 27 Mar 2018 21:34:25 -0700 |
parents | e57b012539d5 |
children | a9011b1b073f |
rev | line source |
---|---|
32
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
1 @echo off |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
2 setlocal |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
3 |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
4 set CWD=%~dp0 |
124 | 5 |
415
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
6 set PYEXE=python |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
7 where %PYEXE% 2>nul |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
8 if errorlevel 1 ( |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
9 echo Python isn't in your PATH. Run the install script yourself. |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
10 exit /b 1 |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
11 ) |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
12 |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
13 echo python %CWD%install.py |
e57b012539d5
Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents:
407
diff
changeset
|
14 |