void-packages/common/travis/show_files.sh

18 lines
289 B
Bash
Raw Normal View History

#!/bin/sh
#
2015-04-10 10:59:28 +02:00
# show_files.sh
2015-07-14 10:47:06 +02:00
[ "$XLINT" ] && exit 0
if [ "$1" != "$2" ]; then
arch="-a $2"
fi
for pkg in $(cat /tmp/templates); do
for subpkg in $(xsubpkg $pkg); do
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
2015-04-23 09:46:40 +02:00
./xbps-src -H $HOME/hostdir $arch show-files "$subpkg"
done
done