common/travis/xpkgdiff.sh: use newly-added arguments
it works without this, but it uses repo-default by default, so this should maybe speed some things up.
This commit is contained in:
parent
2207744e4f
commit
9d8a6f6c25
|
@ -2,9 +2,10 @@
|
||||||
#
|
#
|
||||||
# xpkgdiff.sh
|
# xpkgdiff.sh
|
||||||
|
|
||||||
export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo XBPS_HOSTDIR="$HOME/hostdir"
|
export XBPS_DISTDIR=/hostrepo XBPS_HOSTDIR="$HOME/hostdir"
|
||||||
export DIFF='diff --unified=0 --report-identical-files --suppress-common-lines
|
export DIFF='diff --unified=0 --report-identical-files --suppress-common-lines
|
||||||
--color=always --label REPO --label BUILT'
|
--color=always --label REPO --label BUILT'
|
||||||
|
ARGS="-a $2 -R https://repo-ci.voidlinux.org/current"
|
||||||
|
|
||||||
while read -r pkg; do
|
while read -r pkg; do
|
||||||
for subpkg in $(xsubpkg $pkg); do
|
for subpkg in $(xsubpkg $pkg); do
|
||||||
|
@ -12,11 +13,11 @@ while read -r pkg; do
|
||||||
--repository=$HOME/hostdir/binpkgs/nonfree \
|
--repository=$HOME/hostdir/binpkgs/nonfree \
|
||||||
-i "$subpkg" >&/dev/null; then
|
-i "$subpkg" >&/dev/null; then
|
||||||
/bin/echo -e "\x1b[34mFile Diff of $subpkg:\x1b[0m"
|
/bin/echo -e "\x1b[34mFile Diff of $subpkg:\x1b[0m"
|
||||||
xpkgdiff -f $subpkg
|
xpkgdiff $ARGS -f $subpkg
|
||||||
/bin/echo -e "\x1b[34mMetadata Diff of $subpkg:\x1b[0m"
|
/bin/echo -e "\x1b[34mMetadata Diff of $subpkg:\x1b[0m"
|
||||||
xpkgdiff -S $subpkg
|
xpkgdiff $ARGS -S $subpkg
|
||||||
/bin/echo -e "\x1b[34mDependency Diff of $subpkg:\x1b[0m"
|
/bin/echo -e "\x1b[34mDependency Diff of $subpkg:\x1b[0m"
|
||||||
xpkgdiff -x $subpkg
|
xpkgdiff $ARGS -x $subpkg
|
||||||
else
|
else
|
||||||
/bin/echo -e "\x1b[33m$subpkg wasn't found\x1b[0m"
|
/bin/echo -e "\x1b[33m$subpkg wasn't found\x1b[0m"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user