summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-14 14:08:53 -0200
committerRenato Botelho <renato@netgate.com>2015-12-14 14:08:53 -0200
commitfd6cd92bc4225bb6b41487b32e533e2544d18163 (patch)
treea48f645bb3cd5507216223b11bb9aab4ca820715 /tools/builder_common.sh
parent86349beea15fec2a78da8adfa054859abe036d3a (diff)
downloadpfsense-fd6cd92bc4225bb6b41487b32e533e2544d18163.zip
pfsense-fd6cd92bc4225bb6b41487b32e533e2544d18163.tar.gz
Create distfiles directory if it doesn't exist
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 1bd3aa8..7c9b958 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -1953,6 +1953,11 @@ COMMIT_PACKAGES_ON_FAILURE=no
GIT_URL="${POUDRIERE_PORTS_GIT_URL}"
EOF
+ # Create DISTFILES_CACHE if it doesn't exist
+ if [ ! -d /usr/ports/distfiles ]; then
+ mkdir -p /usr/ports/distfiles
+ fi
+
# Remove old jails
for jail_arch in ${_archs}; do
jail_name=$(poudriere_jail_name ${jail_arch})
OpenPOWER on IntegriCloud