diff --git a/.travis.yml b/.travis.yml index f925d87fedb..31f6b798806 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ script: - common/travis/build.sh $BOOTSTRAP $ARCH after_script: - - common/travis/show_files.sh + - common/travis/show_files.sh $BOOTSTRAP $ARCH notifications: email: false diff --git a/common/travis/show_files.sh b/common/travis/show_files.sh index b7dfa548340..bebcc1be4d0 100755 --- a/common/travis/show_files.sh +++ b/common/travis/show_files.sh @@ -2,10 +2,14 @@ # # show_files.sh +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" - ./xbps-src -H $HOME/hostdir show-files "$pkg" + ./xbps-src -H $HOME/hostdir $arch show-files "$pkg" done done