svn commit: r246762 - projects/portbuild/admin/tools
Mark Linimon
linimon at FreeBSD.org
Wed Feb 13 14:57:55 UTC 2013
Author: linimon (doc,ports committer)
Date: Wed Feb 13 14:57:54 2013
New Revision: 246762
URL: http://svnweb.freebsd.org/changeset/base/246762
Log:
zsh-proof this.
Modified:
projects/portbuild/admin/tools/mkportbuild
Modified: projects/portbuild/admin/tools/mkportbuild
==============================================================================
--- projects/portbuild/admin/tools/mkportbuild Wed Feb 13 14:53:55 2013 (r246761)
+++ projects/portbuild/admin/tools/mkportbuild Wed Feb 13 14:57:54 2013 (r246762)
@@ -208,7 +208,7 @@ echo "$0: in ${ZFS_MOUNTPOINT}/portbuild
# but non-fatal.
for extra_dir in ${PORTBUILD_OWNED_CONVENIENCE_SUBDIRS}; do
if [ ! -d ${ZFS_MOUNTPOINT}/portbuild/${extra_dir} ]; then
- su -m ${PORTBUILD_USER} -c "mkdir ${ZFS_MOUNTPOINT}/portbuild/${extra_dir} 2> /dev/null" || exit 1
+ su -m ${PORTBUILD_USER} -c "mkdir ${ZFS_MOUNTPOINT}/portbuild/${extra_dir}" 2> /dev/null || exit 1
fi
chgrp ${PORTBUILD_USER} ${ZFS_MOUNTPOINT}/portbuild/${extra_dir} 2> /dev/null
done
@@ -216,7 +216,7 @@ done
# create convenience directories for SRCBUILD_USER.
for extra_dir in ${SRCBUILD_OWNED_CONVENIENCE_SUBDIRS}; do
if [ ! -d ${ZFS_MOUNTPOINT}/portbuild/admin/${extra_dir} ]; then
- su -m ${SRCBUILD_USER} -c "mkdir ${ZFS_MOUNTPOINT}/portbuild/admin/${extra_dir} 2> /dev/null" || exit 1
+ su -m ${SRCBUILD_USER} -c "mkdir ${ZFS_MOUNTPOINT}/portbuild/admin/${extra_dir}" 2> /dev/null || exit 1
fi
chgrp ${SRCBUILD_USER} ${ZFS_MOUNTPOINT}/portbuild/${extra_dir} 2> /dev/null
done
More information about the svn-src-projects
mailing list