Skip to content

Commit

Permalink
Simplifed cygwin paths from bash example to formated text.
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Oct 25, 2024
1 parent ed9b935 commit 96b53b0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tooling/reproducible/ReproducibleBuilds.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,9 @@ before the comparable_patch.sh can be run.
popd
```

- NOTE: The default paths should work fine, e.g.,:

```bash
MSBASE_PATH="/cygdrive/c/Program Files/Microsoft Visual Studio/"
MSVSC=$(find "$MSBASE_PATH" -type d | grep Hostx64/x64$ | head -n 1 )
WINKIT=$(dirname "$(find '/cygdrive/c/Program Files (x86)/Windows Kits' | grep x64/signtool.exe$ | head -n 1)")
MSVSCBUILDTOOLS=$(find "$MSBASE_PATH" -type d | grep Auxiliary/Build$ | head -n 1 )
```
- NOTE: The default paths should work fine. In Cygwin, they are usually at:
* MSVSC cl/bat files in `/cygdrive/c/Program Files/Microsoft Visual Studio/` under `Hostx64/x64` (or similar) and `Auxiliary/Build` dirs
* the signtool.exe then in `/cygdrive/c/Program Files (x86)/Windows Kits`. Again in arch-specific dir like `x64`

- NOTE: Using `cygpath` is sometimes necessary. However, Java *binaries* can have issues with it:
- e.g., Use `cygpath` for `$CLASSPATH`,
Expand Down

0 comments on commit 96b53b0

Please sign in to comment.