diff options
author | maxice8 <thinkabit.ukim@gmail.com> | 2019-04-13 16:49:41 +0000 |
---|---|---|
committer | maxice8 <30738253+maxice8@users.noreply.github.com> | 2019-04-15 15:18:00 +0000 |
commit | 8254bfd6b3314d2197407c484a19c37855071f02 (patch) | |
tree | 6c3b8c253b2190ef2d30b9e0b71520532bd06471 | |
parent | 509f522dac555ab8ff1b93945988ab3d33aed465 (diff) | |
download | void-packages-8254bfd6b3314d2197407c484a19c37855071f02.tar void-packages-8254bfd6b3314d2197407c484a19c37855071f02.tar.gz void-packages-8254bfd6b3314d2197407c484a19c37855071f02.tar.bz2 void-packages-8254bfd6b3314d2197407c484a19c37855071f02.tar.lz void-packages-8254bfd6b3314d2197407c484a19c37855071f02.tar.xz void-packages-8254bfd6b3314d2197407c484a19c37855071f02.tar.zst void-packages-8254bfd6b3314d2197407c484a19c37855071f02.zip |
travis/show_files.sh: avoid useless use of cat
-rwxr-xr-x | common/travis/show_files.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/travis/show_files.sh b/common/travis/show_files.sh index e5029bd0ca3..f9cfca8c463 100755 --- a/common/travis/show_files.sh +++ b/common/travis/show_files.sh @@ -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 |