Set the temp dirs to be owned by sbuild
authorSteve McIntyre <steve@einval.com>
Fri, 26 Oct 2018 13:52:29 +0000 (14:52 +0100)
committerSteve McIntyre <steve@einval.com>
Fri, 26 Oct 2018 13:52:29 +0000 (14:52 +0100)
bin/build-client

index c5bb206..6cb9fa0 100755 (executable)
@@ -119,6 +119,7 @@ while true; do
     echo "$DATE: starting build $BNUM: ${PKG} version ${VER} for ${ARCH}"
     rm -rf build-$PKG out-$PKG
     mkdir build-$PKG out-$PKG
+    chown -R sbuild: build-$PKG out-$PKG
     cd build-$PKG
     (grab_and_build $BNUM $PKG $VER $ARCH >${LOGDIR}/${PKG_VER_ARCH}.log 2>&1)