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

[BUG] list release -p not showing patchlevel #680

Open
cristianyxen opened this issue Feb 16, 2024 · 0 comments
Open

[BUG] list release -p not showing patchlevel #680

cristianyxen opened this issue Feb 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cristianyxen
Copy link

[MANDATORY] Describe the bug [MANDATORY]
When using the -p option to bastille list release, the patchlevel is not shown as it would be expected. In list_release() ${2} is checked for being "-p"

if [ "${2}" == "-p" -a -f "${bastille_releasesdir}/${_REL}/bin/freebsd-version" ]; then
which is not the case in the subroutine because ${2} of list.sh is never handed over at

Fix might be to use ${2} as argument to list_release() at

and use ${1} inside of list_release() at
if [ "${2}" == "-p" -a -f "${bastille_releasesdir}/${_REL}/bin/freebsd-version" ]; then

[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru output)
0.10.20231125
13.2-RELEASE-p10
13.2-RELEASE-p4
13.2-RELEASE-p10

[MANDATORY] How did you install bastille? (port/pkg/git)
port/pkg

@cristianyxen cristianyxen added the bug Something isn't working label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant