From f2883afc1be0a2786386e258b8ca948e6aa3b7ed Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 14 Mar 2015 09:06:44 +0100 Subject: [PATCH] xbps-src/build.sh: fix xbps-src-doinstall() when pkg is a subpkg. Close #1120 --- common/xbps-src/libexec/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/libexec/build.sh b/common/xbps-src/libexec/build.sh index 7c4f010fcb8..60a3934ab07 100755 --- a/common/xbps-src/libexec/build.sh +++ b/common/xbps-src/libexec/build.sh @@ -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