diff --git a/build.gradle b/build.gradle index 72174cd..3d3cbeb 100644 --- a/build.gradle +++ b/build.gradle @@ -69,7 +69,8 @@ application { def windows = getWindowsScript() def unix = getUnixScript() windows.text = windows.text.replaceFirst('set APP_HOME=.*', '$0\r\nset WORKING_DIR=%CD%') - unix.text = unix.text.replaceFirst('\nAPP_HOME=.*', '$0\nexport APP_HOME\nexport WORKING_DIR=\\$(pwd -P)') + unix.text = unix.text.replaceFirst('\nCLASSPATH=.*', + '$0\n\nexport APP_HOME\nexport WORKING_DIR=\\$(pwd -P)') } } }