mirror of
https://git.openwrt.org/feed/packages.git
synced 2025-05-07 18:36:25 +08:00
CONTRIBUTING.md: remove incorrect info about PKG_VERSION
The documentation stated that `PKG_VERSION` is the OpenWrt version and therefore includes the `PKG_RELEASE`, but this statement was incorrect and has been removed to avoid confusion. Signed-off-by: Wesley Gimenes <wehagy@proton.me>
This commit is contained in:
parent
86179f138a
commit
4ea384f02b
@ -200,9 +200,7 @@ created packages and runs a script called `test.sh` located next to the package
|
||||
Makefile. The script is executed with the two arguments `PKG_NAME` and
|
||||
`PKG_VERSION`. The `PKG_NAME` can be used to distinguish package variants, e.g.
|
||||
`foobar` vs. `foobar-full`. The `PKG_VERSION` can be used for a trivial test
|
||||
checking if `foobar --version` prints the correct version. `PKG_VERSION` is the
|
||||
OpenWrt version and therefore includes the `PKG_RELEASE`, which isn't usually
|
||||
part of the running programs version.
|
||||
checking if `foobar --version` prints the correct version.
|
||||
|
||||
The following snippet shows a script that tests different binaries depending on
|
||||
what IPK package was installed. The `gpsd` Makefile produces both a `gpsd` and
|
||||
|
Loading…
x
Reference in New Issue
Block a user