OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-tools                    Date:   24-Feb-2005 10:41:35
  Branch: HEAD                             Handle: 2005022409413500

  Modified files:
    openpkg-tools/cmd       dev.sh

  Log:
    some kinds of awk(1) do not like empty regex (happend on
    ppc-darwin7.8.0)

  Summary:
    Revision    Changes     Path
    1.37        +2  -2      openpkg-tools/cmd/dev.sh
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-tools/cmd/dev.sh
  ============================================================================
  $ cvs diff -u -r1.36 -r1.37 dev.sh
  --- openpkg-tools/cmd/dev.sh  23 Feb 2005 20:03:24 -0000      1.36
  +++ openpkg-tools/cmd/dev.sh  24 Feb 2005 09:41:35 -0000      1.37
  @@ -166,7 +166,7 @@
       else
           type $1 \
           | ${AWK} -v cmd=$1 'BEGIN { f=0 }
  -               // { if (f==1) { print $0 } }
  +               /.*/ { if (f==1) { print $0 } }
                  /^[a-zA-Z0-9_]+ is a function/ { print "unalias "cmd" 
>/dev/null 2>&1"; f=1 }'
       fi
   }
  @@ -2276,7 +2276,7 @@
                   BEGIN { flag=0 }
                   /^%prep$/ { flag=1 }
                   /^$/ { if (flag == 1) print "    "execute" #"file; flag=0 }
  -                // { print $0 }'
  +                /.*/ { print $0 }'
               if [ ${dry} -eq 0 ]; then
                   rpmE -bp ${tmpfile} --nodeps
                   rc=$?
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to