Skip to content

Commit

Permalink
Add pbuilder USENETWORK=yes option also to cowbuilder_run
Browse files Browse the repository at this point in the history
  • Loading branch information
nextime committed Jun 4, 2015
1 parent 7183519 commit b9c9cfd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build-and-provide-package
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,11 @@ EOF
local pbuilderrc=$(mktemp)
echo "# pbuilder config file generated by jenkins-debian-glue on $(date)" > "$pbuilderrc"

# allow pbuilder networking
if [ -n "${PBUILDER_USENETWORK:-}" ] ; then
echo "USENETWORK=yes" >> "$pbuilderrc"
fi

# allow setting main pbuilder configuration file from outside, then append data
# as needed without actually writing anything to user-provided $PBUILDER_CONFIG
if [ -n "${PBUILDER_CONFIG:-}" ] ; then
Expand Down

0 comments on commit b9c9cfd

Please sign in to comment.