travis/show_files.sh: avoid useless use of cat

This commit is contained in:
maxice8 2019-04-13 13:49:41 -03:00 committed by maxice8
parent 509f522dac
commit 8254bfd6b3

View file

@ -4,10 +4,9 @@
export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo
for pkg in $(cat /tmp/templates); do
while read -r pkg; do
for subpkg in $(xsubpkg $pkg); do
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
xbps-query --repository=$HOME/hostdir/binpkgs -f "$subpkg"
done
done
done < /tmp/templates