-
Bug
-
Resolution: Fixed
-
P5
-
5.0
-
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
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