xbps-src/build.sh: fix xbps-src-doinstall() when pkg is a subpkg.
Close #1120
This commit is contained in:
parent
cf1f6de3fd
commit
f2883afc1b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue