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

linux javaws sanity script falls over instead of notifying wrong OS

XMLWordPrintable

    • b50
    • x86
    • linux

      javaws sanity script doesn't escape the contents of /etc/redhat-release, so instead of a warning it falls over with invalid OS build platforms

      This was tested with fedora 3. The fix is to simply escape out RH_VERSION as per suggested fix which worked

      if [ -r ./../../deploy/make/Makefile ]; then \
        ( cd ./../../deploy/make; make sanity javaws-all plugin-all images EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/export/d1/jdk/control CONTROL_TOPDIR_NAME=control ALT_OUTPUTDIR=/export/d1/jdk/control/build/linux-i586 ARCH_DATA_MODEL=32 MILESTONE=internal BUILD_NUMBER=root_03_dec_2004_16_16 ); \
      fi
      make[1]: Entering directory `/export/d1/jdk/deploy/make'
      /bin/sh: command substitution: line 0: syntax error near unexpected token `('
      /bin/sh: command substitution: line 0: `echo -e 3 (Heidelberg) | /bin/egrep -c 'Advanced Server''
      ###@###.### 2004-12-04 00:51:35 GMT

            ohair Kelly Ohair (Inactive)
            caustinsunw Calvin Austin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: