mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
travis/show_files.sh: avoid useless use of cat
This commit is contained in:
parent
509f522dac
commit
8254bfd6b3
1 changed files with 2 additions and 3 deletions
|
@ -4,10 +4,9 @@
|
||||||
|
|
||||||
export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo
|
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
|
for subpkg in $(xsubpkg $pkg); do
|
||||||
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
|
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
|
||||||
xbps-query --repository=$HOME/hostdir/binpkgs -f "$subpkg"
|
xbps-query --repository=$HOME/hostdir/binpkgs -f "$subpkg"
|
||||||
done
|
done
|
||||||
done
|
done < /tmp/templates
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue