really fix regexp
authorAdam Glasgall <glasgall@mit.edu>
Sat, 13 Apr 2013 21:57:32 +0000 (17:57 -0400)
committerAdam Glasgall <glasgall@mit.edu>
Sat, 13 Apr 2013 21:57:32 +0000 (17:57 -0400)
debian/changelog
debian/transform_xend-config.sxp.invirt.mako

index f5dc8ee..9e48f36 100644 (file)
@@ -1,3 +1,9 @@
+invirt-xen-config (0.0.38~glasgall9) precise; urgency=low
+
+  * _really_  correct regexp this time.
+
+ -- Adam Glasgall <glasgall@mit.edu>  Sat, 13 Apr 2013 17:57:11 -0400
+
 invirt-xen-config (0.0.38~glasgall8) precise; urgency=low
 
   * fix typo in regexp
index f6a5ca5..dec60ca 100755 (executable)
@@ -19,7 +19,7 @@ EOF
 
 s/^\#?\(xend-relocation-address ''\)/(xend-relocation-address '\${internal_ip}')/m or die;
 s/^\#?\(xend-relocation-hosts-allow '[^']*'\)/(xend-relocation-hosts-allow '')/m or die;
-s/^\#?\(network-script network-bridge\)/(network-script 'network-bridge')/m or die;
+s/^(\# )?\(network-script network-bridge\)/(network-script 'network-bridge')/m or die;
 s/^\(dom0-min-mem [0-9]*\)/(dom0-min-mem 1536)/m or die;
 s/\$(\{XEN_CONFIG_DIR\})/$1/m or die;
 print;