diff options
author | Bryan Drewery <bryan@shatow.net> | 2022-11-08 02:20:45 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2022-11-08 03:00:37 +0300 |
commit | 9f01641177fcabfc8d021b126820010258d832e4 (patch) | |
tree | 79bbe5972e9036d88326766068bb90b193db7945 | |
parent | 8b85bbe642d3f77d512e9d27111ae29aa16d2811 (diff) |
pkgname_flavor_is_default: Fix logic from e158cb8814fa
-rwxr-xr-x | src/share/poudriere/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 23a6bb24..d333632f 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -6392,8 +6392,8 @@ pkgname_flavor_is_default() { local -; set -f shash_get pkgname-flavors "${pkgname}" flavors || flavors= - case "${flavor}" in - "${flavors}"|"${flavors} "*) + case "${flavors}" in + "${flavor}"|"${flavor} "*) return 0 ;; esac |