kiss: don't lint tarballs

This commit is contained in:
Dylan Araps 2021-07-06 21:55:48 +03:00
parent 3ac3fdcbf8
commit 837148bc9b
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

3
kiss
View File

@ -449,13 +449,12 @@ pkg_order() {
/*.tar.*) deps="$deps $pkg" ;; /*.tar.*) deps="$deps $pkg" ;;
*.tar.*) deps="$deps $ppwd/$pkg" ;; *.tar.*) deps="$deps $ppwd/$pkg" ;;
*/*) die "Invalid argument: '/!*[]' ($pkg)" ;; */*) die "Invalid argument: '/!*[]' ($pkg)" ;;
*) pkg_depends "$pkg" raw *) pkg_lint "$pkg"; pkg_depends "$pkg" raw
esac done esac done
# Filter the list, only keeping explicit packages. The purpose of these # Filter the list, only keeping explicit packages. The purpose of these
# two loops is to order the argument list based on dependence. # two loops is to order the argument list based on dependence.
for pkg in $deps; do case " $* " in *" $pkg "* | *" ${pkg##"$ppwd/"} "*) for pkg in $deps; do case " $* " in *" $pkg "* | *" ${pkg##"$ppwd/"} "*)
pkg_lint "$pkg"
order="$order $pkg" order="$order $pkg"
redro="$pkg $redro" redro="$pkg $redro"
esac done esac done