- Fix sysctl lens

PR:		ports/170761
Submitted by:	Dave Duchscher <daved@tamu.edu>
This commit is contained in:
Steve Wills 2012-08-29 18:25:20 +00:00
parent f8d3d122df
commit 60c396473d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303345
2 changed files with 12 additions and 1 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= augeas
PORTVERSION= 0.10.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= http://augeas.net/download/

View file

@ -0,0 +1,11 @@
--- lenses/sysctl.aug.orig 2012-08-19 01:11:41.000000000 +0000
+++ lenses/sysctl.aug 2012-08-19 01:11:57.000000000 +0000
@@ -6,7 +6,7 @@
let eol = Util.eol
let indent = Util.indent
let key_re = /[A-Za-z0-9_.-]+/
- let eq = del /[ \t]*=[ \t]*/ " = "
+ let eq = del /[ \t]*=[ \t]*/ "="
let value_re = /[^ \t\n](.*[^ \t\n])?/
let comment = [ indent . label "#comment" . del /[#;][ \t]*/ "# "