← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~smoser/maas/vdenv-fix-mawk into lp:maas

 

Scott Moser has proposed merging lp:~smoser/maas/vdenv-fix-mawk into lp:maas.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~smoser/maas/vdenv-fix-mawk/+merge/116067

vdenv: fix usage of awk if awk is 'mawk' rather than 'gawk'

-- 
https://code.launchpad.net/~smoser/maas/vdenv-fix-mawk/+merge/116067
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~smoser/maas/vdenv-fix-mawk into lp:maas.
=== modified file 'vdenv/zimmer-build/ud-build.txt'
--- vdenv/zimmer-build/ud-build.txt	2012-07-19 03:12:57 +0000
+++ vdenv/zimmer-build/ud-build.txt	2012-07-20 20:12:21 +0000
@@ -110,7 +110,7 @@
    
    get() {
      _RET=$(debconf-show ${1%%/*} 2>/dev/null |
-       awk '{gsub("*","");} $1 == key { print $2 }' "key=$1:")
+       awk '{gsub("[*]","");} $1 == key { print $2 }' "key=$1:")
    }
    show() {
      while [ $# -ne 0 ]; do


Follow ups