Date: Wed, 12 Dec 2012 13:27:13 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r244151 - projects/portbuild/tools Message-ID: <201212121327.qBCDRDrL058301@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212121327.qBCDRDrL058301>