svn commit: r452182 - branches/2017Q4/Mk/Scripts
Antoine Brodin
antoine at FreeBSD.org
Mon Oct 16 08:31:34 UTC 2017
Author: antoine
Date: Mon Oct 16 08:31:32 2017
New Revision: 452182
URL: https://svnweb.freebsd.org/changeset/ports/452182
Log:
MFH: r452181
Skip comments when parsing GID_FILES
Reviewed by: bapt
Modified:
branches/2017Q4/Mk/Scripts/do-users-groups.sh
Directory Properties:
branches/2017Q4/ (props changed)
Modified: branches/2017Q4/Mk/Scripts/do-users-groups.sh
==============================================================================
--- branches/2017Q4/Mk/Scripts/do-users-groups.sh Mon Oct 16 08:30:27 2017 (r452181)
+++ branches/2017Q4/Mk/Scripts/do-users-groups.sh Mon Oct 16 08:31:32 2017 (r452182)
@@ -139,7 +139,7 @@ if [ -n "${USERS}" ]; then
/|/nonexistent|/var/empty)
;;
*)
- group=$(awk -F: -v gid=${gid} '$3 == gid { print $1 }' ${dp_GID_FILES})
+ group=$(awk -F: -v gid=${gid} '$1 !~ /^#/ && $3 == gid { print $1 }' ${dp_GID_FILES})
echo "${dp_INSTALL} -d -g $group -o $login $homedir" >> "${dp_UG_INSTALL}"
;;
esac
More information about the svn-ports-all
mailing list