svn commit: r244151 - projects/portbuild/tools
Mark Linimon
linimon at FreeBSD.org
Wed Dec 12 13:27:14 UTC 2012
Author: linimon (doc,ports committer)
Date: Wed Dec 12 13:27:13 2012
New Revision: 244151
URL: http://svnweb.freebsd.org/changeset/base/244151
Log:
Also create a lockfiles/ directory per-arch.
Modified:
projects/portbuild/tools/addarch
Modified: projects/portbuild/tools/addarch
==============================================================================
--- projects/portbuild/tools/addarch Wed Dec 12 12:37:43 2012 (r244150)
+++ projects/portbuild/tools/addarch Wed Dec 12 13:27:13 2012 (r244151)
@@ -81,6 +81,14 @@ if [ ! -d ${sshdir} ]; then
chmod 700 ${sshdir} || exit 1
fi
+lockfiles=${archdir}/lockfiles
+if [ ! -d ${lockfiles} ]; then
+ echo "The ${lockfiles} directory does not exist. I'll create it for you."
+ mkdir -p ${lockfiles} || exit 1
+ chown -R ${uid}:${gid} ${lockfiles} || exit 1
+ chmod -R g+w ${lockfiles} || exit 1
+fi
+
mlist=${archdir}/mlist
if [ ! -e ${mlist} ]; then
echo "${mlist} does not exist. I'll create an empty one."
More information about the svn-src-projects
mailing list