< prev index next >
test/jdk/java/awt/FontClass/CreateFont/fileaccess/TestFontFile.sh
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
#
! # Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
--- 1,7 ----
#
! # Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
*** 44,63 ****
BIT_FLAG=""
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
! AIX | Darwin | Linux | SunOS )
NULL=/dev/null
PS=":"
FS="/"
! ## for solaris, linux it's HOME
FILE_LOCATION=$HOME
- if [ -f ${FILE_LOCATION}${FS}JDK64BIT -a ${OS} = "SunOS" ]
- then
- BIT_FLAG=`cat ${FILE_LOCATION}${FS}JDK64BIT`
- fi
;;
Windows_* | CYGWIN* )
NULL=NUL
PS=";"
FS="\\"
--- 44,59 ----
BIT_FLAG=""
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
! AIX | Darwin | Linux )
NULL=/dev/null
PS=":"
FS="/"
! ## for linux it's HOME
FILE_LOCATION=$HOME
;;
Windows_* | CYGWIN* )
NULL=NUL
PS=";"
FS="\\"
< prev index next >