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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-doc                      Date:   28-Jan-2003 09:59:56
  Branch: HEAD                             Handle: 2003012808595500

  Modified files:
    openpkg-doc/handbook    openpkg.xml

  Log:
    Improve example opa logic with suggestion from Vinod KUTTY.

  Summary:
    Revision    Changes     Path
    1.67        +2  -2      openpkg-doc/handbook/openpkg.xml
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-doc/handbook/openpkg.xml
  ============================================================================
  $ cvs diff -u -r1.66 -r1.67 openpkg.xml
  --- openpkg-doc/handbook/openpkg.xml  28 Jan 2003 08:29:21 -0000      1.66
  +++ openpkg-doc/handbook/openpkg.xml  28 Jan 2003 08:59:55 -0000      1.67
  @@ -1416,11 +1416,11 @@
       root="$1"
       if [ ! -d $root ]; then
           echo "opa:ERROR: OpenPKG root directory $root not found"
  -        exit 1
  +        return 1
       fi
       if [ ! -f "$root/etc/rc" ]; then
           echo "opa:ERROR: root directory does not contain OpenPKG hierarchy"
  -        exit 1
  +        return 1
       fi
       eval `$root/etc/rc --eval all env`
   }]]></programlisting>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to