Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opamfile package var typo #5961

Merged
merged 1 commit into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading