Skip to content

Commit cb4885a

Browse files
committed
Fix minor edge case in naughty-*.sh when BASHBREW_NAMESPACE is set
1 parent 8e54924 commit cb4885a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

naughty-constraints.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ declare -A allNaughty=(
7474
#[img:tag]=1
7575
)
7676

77-
tags="$(bashbrew list --uniq "$@" | sort -u)"
77+
tags="$(bashbrew --namespace '' list --uniq "$@" | sort -u)"
7878
for img in $tags; do
7979
arches="$(_arches "$img")"
8080
constraints="$(bashbrew cat --format '{{ .TagEntry.Constraints | join "\n" }}' "$img" | sort -u)"

naughty-from.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ declare -A allNaughty=(
8585
#[img:tag]=1
8686
)
8787

88-
tags="$(bashbrew list --uniq "$@" | sort -u)"
88+
tags="$(bashbrew --namespace '' list --uniq "$@" | sort -u)"
8989
for img in $tags; do
9090
arches="$(_arches "$img")"
9191
hasNice= # do we have _any_ arches that aren't naughty? (so we can make the message better if not)

0 commit comments

Comments
 (0)