Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 10:08:05 -0800
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   Re: svn commit: r293777 - user/cperciva/freebsd-update-build/scripts
Message-ID:  <20160112180805.GP1906@FreeBSD.org>
In-Reply-To: <201601121806.u0CI67gI009531@repo.freebsd.org>
References:  <201601121806.u0CI67gI009531@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 12, 2016 at 06:06:07PM +0000, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Tue Jan 12 18:06:07 2016
T> New Revision: 293777
T> URL: https://svnweb.freebsd.org/changeset/base/293777
T> 
T> Log:
T>   Adjust script removing .orig files and empty files:
T>   - Adopt the regexp to cleaned patches, that don't have
T>     diff or subversion header.
T>   - Switch from awk to sed, due to bugs in awk regexps.

If anyone interested, in our awk regexp "^diff" would match
"    diff", any amount of whitespace. Since ntp has a lot
variables named diff, running the script over ntp patches
produce a lot of garbage.

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160112180805.GP1906>