Skip to content

Commit 0efea4b

Browse files
committed
fixed start scripts
1 parent 25e9baa commit 0efea4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ application {
6969
def windows = getWindowsScript()
7070
def unix = getUnixScript()
7171
windows.text = windows.text.replaceFirst('set APP_HOME=.*', '$0\r\nset WORKING_DIR=%CD%')
72-
unix.text = unix.text.replaceFirst('\nAPP_HOME=.*', '$0\nexport APP_HOME\nexport WORKING_DIR=\\$(pwd -P)')
72+
unix.text = unix.text.replaceFirst('\nCLASSPATH=.*',
73+
'$0\n\nexport APP_HOME\nexport WORKING_DIR=\\$(pwd -P)')
7374
}
7475
}
7576
}

0 commit comments

Comments
 (0)