components/gpgme/patches/001-mkstatus.patch
changeset 303 cae844b2d132
equal deleted inserted replaced
302:0b738df97c00 303:cae844b2d132
       
     1 --- src/mkstatus	2008-11-03 08:50:12.000000000 -0800
       
     2 +++ src/mkstatus	2011-05-27 09:27:36.446497463 -0700
       
     3 @@ -1,4 +1,4 @@
       
     4 -#!/bin/sh
       
     5 +#!/bin/bash
       
     6  # mkstatus - Extract error strings from rungpg.h
       
     7  #            and create a lookup table
       
     8  #	Copyright (C) 2000 Werner Koch (dd9jn)
       
     9 @@ -38,7 +38,7 @@
       
    10  {
       
    11  EOF
       
    12  
       
    13 -awk '
       
    14 +gawk '
       
    15  /GPGME_STATUS_ENTER/      { okay = 1 }
       
    16  !okay                     { next }
       
    17  /}/                       { exit 0 }