Skip to content

Commit

Permalink
Merge pull request #5961 from jmid/fix-pkg-var-typo
Browse files Browse the repository at this point in the history
Fix opamfile package var typo
  • Loading branch information
dra27 committed May 18, 2024
2 parents f7a41a0 + 4d75274 commit 598e346
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ users)
* Upgrade the opam-root-version to 2.2~beta [#5904 @kit-ty-kate]

## Global CLI
* Fix a typo in the variable description returned by "opam var" [#5961 @jmid]

## Plugins

Expand Down
2 changes: 1 addition & 1 deletion src/state/opamPackageVar.ml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let package_variable_names = [
"dev", "True if this is a development package";
"build-id", "A hash identifying the precise package version with all its \
dependencies";
"opamfile", "Path of the curent opam file";
"opamfile", "Path of the current opam file";
]

let predefined_depends_variables =
Expand Down
2 changes: 1 addition & 1 deletion tests/reftests/var-option.test
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ PKG:build # Directory where the package was built
PKG:hash # Hash of the package archive
PKG:dev # True if this is a development package
PKG:build-id # A hash identifying the precise package version with all its dependencies
PKG:opamfile # Path of the curent opam file
PKG:opamfile # Path of the current opam file
### opam var --switch var-option
prefix ${BASEDIR}/OPAM/var-option
lib ${BASEDIR}/OPAM/var-option/lib
Expand Down

0 comments on commit 598e346

Please sign in to comment.