build.sbt: Change yona.bat script for Windows
@450de17768de7bca2a9c2741c7667ddbce11b091
--- build.sbt
+++ build.sbt
... | ... | @@ -111,9 +111,8 @@ |
111 | 111 |
|""".stripMargin |
112 | 112 |
|
113 | 113 |
NativePackagerKeys.batScriptExtraDefines += """ |
114 |
- | if "%YONA_DATA%"=="" set "YONA_DATA=%~dp0\\.." |
|
115 | 114 |
| set "APP_CLASSPATH=%APP_LIB_DIR%\*" |
116 |
- | set "YONA_OPTS=-DapplyEvolutions.default=true -Duser.dir=%YONA_HOME% -Dyona.data=%YONA_DATA% -Dconfig.file=%YONA_DATA%\conf\application.conf -Dlogger.file=%YONA_DATA%\conf\application-logger.xml" |
|
115 |
+ | if NOT "%YONA_DATA%" == "" set "YONA_OPTS=-DapplyEvolutions.default=true -Duser.dir=%YONA_HOME% -Dyona.data=%YONA_DATA% -Dconfig.file=%YONA_DATA%\conf\application.conf -Dlogger.file=%YONA_DATA%\conf\application-logger.xml" |
|
117 | 116 |
|""".stripMargin |
118 | 117 |
|
119 | 118 |
lazy val yobi = (project in file(".")) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?