svn commit: r293777 - user/cperciva/freebsd-update-build/scripts

Gleb Smirnoff glebius at FreeBSD.org
Tue Jan 12 18:08:09 UTC 2016


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.


More information about the svn-src-user mailing list