Skip to content

Instantly share code, notes, and snippets.

@javier-lopez
Created November 23, 2011 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javier-lopez/1387537 to your computer and use it in GitHub Desktop.
Save javier-lopez/1387537 to your computer and use it in GitHub Desktop.
--- ./pbuilder-buildpackage 2009-12-30 10:28:35.000000000 -0600
+++ ../../../../pbuilder-buildpackage 2010-08-09 18:08:34.896255762 -0500
@@ -58,6 +58,8 @@
if [ ! -d "${BUILDRESULT}" ]; then
if [ -n "${BUILDRESULT}" ] ; then
mkdir -p "${BUILDRESULT}"
+ chown -R "${BUILDRESULTUID}:${BUILDRESULTGID}" "${BUILDRESULT}"../../
+ chgrp -R "${BUILDRESULTGID}" "${BUILDRESULT}"../../
fi
if [ -d "${BUILDRESULT}" ]; then
log "I: created buildresult dir: ${BUILDRESULT}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment