Skip to content

Commit

Permalink
Align usage of Cygwin in startserv and asadmin scripts
Browse files Browse the repository at this point in the history
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
  • Loading branch information
OndroMih committed Dec 17, 2023
1 parent 77c91ce commit d1205fa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Expand Up @@ -15,8 +15,10 @@
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
#

# Always use JDK 1.6 or higher
AS_INSTALL=`dirname "$0"`/../glassfish
case "`uname`" in
CYGWIN*) AS_INSTALL=`cygpath --windows $AS_INSTALL`
esac
AS_INSTALL_LIB="$AS_INSTALL/lib"
. "${AS_INSTALL}/config/asenv.conf"
JAVA=java
Expand Down
Expand Up @@ -17,10 +17,10 @@
#

AS_INSTALL=`dirname "$0"`/../glassfish
AS_INSTALL_LIB="$AS_INSTALL/modules"
case "`uname`" in
CYGWIN*) AS_INSTALL=`cygpath --windows $AS_INSTALL`
esac
AS_INSTALL_LIB="$AS_INSTALL/modules"
. "${AS_INSTALL}/config/asenv.conf"
JAVA=java
#Depends upon Java from ../config/asenv.conf
Expand Down
Expand Up @@ -15,7 +15,6 @@
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
#

# Always use JDK 1.6 or higher
AS_INSTALL=`dirname "$0"`/..
case "`uname`" in
CYGWIN*) AS_INSTALL=`cygpath --windows $AS_INSTALL`
Expand Down
Expand Up @@ -17,10 +17,10 @@
#

AS_INSTALL=`dirname "$0"`/..
AS_INSTALL_LIB="$AS_INSTALL/modules"
case "`uname`" in
CYGWIN*) AS_INSTALL=`cygpath --windows $AS_INSTALL`
esac
AS_INSTALL_LIB="$AS_INSTALL/modules"
. "${AS_INSTALL}/config/asenv.conf"
JAVA=java
#Depends upon Java from ../config/asenv.conf
Expand Down

0 comments on commit d1205fa

Please sign in to comment.