travis: fix show_files for cross targets.
This commit is contained in:
@@ -28,7 +28,7 @@ script:
|
|||||||
- common/travis/build.sh $BOOTSTRAP $ARCH
|
- common/travis/build.sh $BOOTSTRAP $ARCH
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- common/travis/show_files.sh
|
- common/travis/show_files.sh $BOOTSTRAP $ARCH
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|||||||
@@ -2,10 +2,14 @@
|
|||||||
#
|
#
|
||||||
# show_files.sh
|
# show_files.sh
|
||||||
|
|
||||||
|
if [ "$1" != "$2" ]; then
|
||||||
|
arch="-a $2"
|
||||||
|
fi
|
||||||
|
|
||||||
for pkg in $(cat /tmp/templates); do
|
for pkg in $(cat /tmp/templates); 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-src -H $HOME/hostdir show-files "$pkg"
|
./xbps-src -H $HOME/hostdir $arch show-files "$pkg"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user