فهرست منبع

Fix minor edge case in naughty-*.sh when BASHBREW_NAMESPACE is set

Tianon Gravi 5 سال پیش
والد
کامیت
cb4885a6de
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      naughty-constraints.sh
  2. 1 1
      naughty-from.sh

+ 1 - 1
naughty-constraints.sh

@@ -74,7 +74,7 @@ declare -A allNaughty=(
 	#[img:tag]=1
 	#[img:tag]=1
 )
 )
 
 
-tags="$(bashbrew list --uniq "$@" | sort -u)"
+tags="$(bashbrew --namespace '' list --uniq "$@" | sort -u)"
 for img in $tags; do
 for img in $tags; do
 	arches="$(_arches "$img")"
 	arches="$(_arches "$img")"
 	constraints="$(bashbrew cat --format '{{ .TagEntry.Constraints | join "\n" }}' "$img" | sort -u)"
 	constraints="$(bashbrew cat --format '{{ .TagEntry.Constraints | join "\n" }}' "$img" | sort -u)"

+ 1 - 1
naughty-from.sh

@@ -85,7 +85,7 @@ declare -A allNaughty=(
 	#[img:tag]=1
 	#[img:tag]=1
 )
 )
 
 
-tags="$(bashbrew list --uniq "$@" | sort -u)"
+tags="$(bashbrew --namespace '' list --uniq "$@" | sort -u)"
 for img in $tags; do
 for img in $tags; do
 	arches="$(_arches "$img")"
 	arches="$(_arches "$img")"
 	hasNice= # do we have _any_ arches that aren't naughty? (so we can make the message better if not)
 	hasNice= # do we have _any_ arches that aren't naughty? (so we can make the message better if not)