Skip to content

Commit 598e346

Browse files
authored
Merge pull request #5961 from jmid/fix-pkg-var-typo
Fix opamfile package var typo
2 parents f7a41a0 + 4d75274 commit 598e346

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

master_changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ users)
1616
* Upgrade the opam-root-version to 2.2~beta [#5904 @kit-ty-kate]
1717

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

2021
## Plugins
2122

src/state/opamPackageVar.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ let package_variable_names = [
4646
"dev", "True if this is a development package";
4747
"build-id", "A hash identifying the precise package version with all its \
4848
dependencies";
49-
"opamfile", "Path of the curent opam file";
49+
"opamfile", "Path of the current opam file";
5050
]
5151

5252
let predefined_depends_variables =

tests/reftests/var-option.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ PKG:build # Directory where the package was built
101101
PKG:hash # Hash of the package archive
102102
PKG:dev # True if this is a development package
103103
PKG:build-id # A hash identifying the precise package version with all its dependencies
104-
PKG:opamfile # Path of the curent opam file
104+
PKG:opamfile # Path of the current opam file
105105
### opam var --switch var-option
106106
prefix ${BASEDIR}/OPAM/var-option
107107
lib ${BASEDIR}/OPAM/var-option/lib

0 commit comments

Comments
 (0)