xbps-src/build.sh: fix xbps-src-doinstall() when pkg is a subpkg.

Close #1120
This commit is contained in:
Juan RP 2015-03-14 09:06:44 +01:00
parent cf1f6de3fd
commit f2883afc1b
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ $XBPS_LIBEXECDIR/xbps-src-dobuild.sh $PKGNAME $XBPS_CROSS_BUILD || exit 1
[ "$TARGET" = "build" ] && exit 0
# Install pkgs into destdir.
$XBPS_LIBEXECDIR/xbps-src-doinstall.sh $PKGNAME $XBPS_CROSS_BUILD || exit 1
$XBPS_LIBEXECDIR/xbps-src-doinstall.sh $sourcepkg $XBPS_CROSS_BUILD || exit 1
for subpkg in ${subpackages} ${sourcepkg}; do
$XBPS_LIBEXECDIR/xbps-src-doinstall.sh $subpkg $XBPS_CROSS_BUILD || exit 1