From owner-svn-ports-head@freebsd.org Mon Oct 16 08:30:28 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2AA9E33335; Mon, 16 Oct 2017 08:30:28 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 722C17290E; Mon, 16 Oct 2017 08:30:28 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9G8UR2R099580; Mon, 16 Oct 2017 08:30:27 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9G8URnD099579; Mon, 16 Oct 2017 08:30:27 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201710160830.v9G8URnD099579@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 16 Oct 2017 08:30:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452181 - head/Mk/Scripts X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/Mk/Scripts X-SVN-Commit-Revision: 452181 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 08:30:28 -0000 Author: antoine Date: Mon Oct 16 08:30:27 2017 New Revision: 452181 URL: https://svnweb.freebsd.org/changeset/ports/452181 Log: Skip comments when parsing GID_FILES Reviewed by: bapt MFH: 2017Q4 Differential Revision: https://reviews.freebsd.org/D12682 Modified: head/Mk/Scripts/do-users-groups.sh Modified: head/Mk/Scripts/do-users-groups.sh ============================================================================== --- head/Mk/Scripts/do-users-groups.sh Mon Oct 16 08:03:46 2017 (r452180) +++ head/Mk/Scripts/do-users-groups.sh Mon Oct 16 08:30:27 2017 (r452181) @@ -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