common/travis: remove need for -C flag for xbps-src

This commit is contained in:
John
2018-05-21 16:04:22 +02:00
committed by Enno Boland
parent 77658ba6e9
commit 05099ab0e0
3 changed files with 5 additions and 7 deletions

View File

@@ -4,14 +4,12 @@
[ "$XLINT" ] && exit 0
if [ "$1" != "$2" ]; then
arch="-a $2"
fi
export XBPS_TARGET_ARCH="$2"
for pkg in $(cat /tmp/templates); do
for subpkg in $(xsubpkg $pkg); do
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
./xbps-src -H $HOME/hostdir $arch show-files "$subpkg"
xbps-query --repository=$HOME/hostdir/binpkgs -f "$subpkg"
done
done