Skip to content

Commit

Permalink
fixed start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
clausnagel committed Aug 15, 2024
1 parent 25e9baa commit 0efea4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)')
}
}
}
Expand Down

0 comments on commit 0efea4b

Please sign in to comment.