Sample Header Ad - 728x90

Translate Windows batch script into a bash script for Linux

1 vote
1 answer
1458 views
I'm new to Linux and am trying to find the equivalent of this from Windows
@echo off
if ".%1" == "." goto TellSyntax
set
PRE_CLASSPATH=%MW_HOME%\oracle_common\modules\javax.persistence_2.1.jar;%MW_HOME%\wlserver\modules\com.oracle.weblogic.jpa21support_1.0.0.0_2-1.jar
goto End
:TellSyntax
echo setJPA21SupportPatch %MW_HOME%\wlserver\modules
:End
echo PRE_CLASSPATH=%PRE_CLASSPATH%
Asked by Richard (11 rep)
Mar 13, 2015, 11:44 PM
Last activity: Mar 14, 2015, 12:09 PM