Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4414129

sanityck testing of BOOTDIR version can be simplified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.3.1
    • 1.4.0
    • infrastructure
    • None
    • rc1
    • generic
    • generic



        Name: dm26566 Date: 02/09/2001


        This works:

            v="`$j -version 2>&1`"
            v=`echo $v | awk -F'"' '{ print $2 }'`

        but this might be safer:

            v="`$j -version 2>&1`"
            v=`echo $v | head -1 | awk -F'"' '{ print $2 }'`

        and this is simpler as well:

            v=`$j -version 2>&1 | head -1 | awk -F'"' '{ print $2 }'`


        ======================================================================

              dmcduffisunw Dale Mcduffie (Inactive)
              dmcduffisunw Dale Mcduffie (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: