fix execution of mkbaselibs again, needs write permissions now (after using abuild...
authorAdrian Schröter <adrian@suse.de>
Fri, 9 Apr 2010 16:11:36 +0000 (18:11 +0200)
committerAdrian Schröter <adrian@suse.de>
Fri, 9 Apr 2010 16:11:36 +0000 (18:11 +0200)
build

diff --git a/build b/build
index 648bad1..e0f287d 100755 (executable)
--- a/build
+++ b/build
@@ -1858,6 +1858,7 @@ if test \( -n "$RPMS" -o -n "$DEBS" \) -a -n "$CREATE_BASELIBS" -a \( -d "$BUILD
     # (and force distro version if CREATE_BASELIBS=internal)
     if test -f $BUILD_ROOT/usr/lib/build/mkbaselibs -o "$CREATE_BASELIBS" != internal ; then
        mount -n -tproc none $BUILD_ROOT/proc 2> /dev/null
+       test $BUILD_USER = abuild && chown ${ABUILD_UID}:${ABUILD_GID} $BUILD_ROOT$TOPDIR/*
        create_baselibs
     fi
 fi