Commit 75a71a7
committed
install-hugo: support running on Windows, too
This requires Git Bash; The tell-tale is the environment variable
`MSYSTEM`, which is set to `MINGW64` for amd64 CPUs. The script will
install `hugo.exe` into `~/bin`, which is prepended to the `PATH` in
Git Bash by default.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 3d95949 commit 75a71a7
1 file changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
8 | 23 | | |
9 | 24 | | |
10 | 25 | | |
11 | 26 | | |
12 | 27 | | |
13 | 28 | | |
14 | 29 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments