From ab6e191395c1f6aa95fc4b56065c592180668b8f Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Tue, 5 Jan 2010 18:25:48 +0100 Subject: [PATCH] run mkbaselibs as $BUILD_USER --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index a05f96d..1d8679f 100755 --- a/build +++ b/build @@ -407,7 +407,7 @@ function create_baselibs { if test -e $BUILD_ROOT/.mkbaselibs/baselibs_g.conf; then BASELIBS_GLOBAL="-c /.mkbaselibs/baselibs_g.conf" fi - chroot $BUILD_ROOT /.mkbaselibs/mkbaselibs $BASELIBS_GLOBAL $BASELIBS_CFG $BPKGS || cleanup_and_exit 1 + chroot $BUILD_ROOT su -c "/.mkbaselibs/mkbaselibs $BASELIBS_GLOBAL $BASELIBS_CFG $BPKGS" - $BUILD_USER || cleanup_and_exit 1 rm -rf $BUILD_ROOT/.mkbaselibs fi } -- 2.7.4