Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
simpler way of doing local opam pin
  • Loading branch information
CohenCyril committed Jul 29, 2015
1 parent 8e787d8 commit a0d8980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ standard Coq repositories.

For each package, pin the `opam` file:
```
opam pin -n add coq:mathcomp:ssreflect ssreflect
opam pin -n add ssreflect
```
This can be achieved in one go as follows:
```
for P in */opam; do opam pin -n add coq:mathcomp:${P%%/opam} ${P%%/opam}; done
for P in */opam; do opam pin -n add ${P%%/opam}; done
```

Then you can use `opam install` to compile and install any package.
Expand Down

0 comments on commit a0d8980

Please sign in to comment.