From e271c9ae2e971a8280e6e0e98189dc7e48edcb1a Mon Sep 17 00:00:00 2001 From: Kazuki YAMAMOTO Date: Thu, 15 Dec 2022 08:57:52 +0900 Subject: [PATCH] fixed wrong app.home path in gaidenw --- gaiden-wrapper/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gaiden-wrapper/build.gradle b/gaiden-wrapper/build.gradle index 668b8dd..0feffa4 100644 --- a/gaiden-wrapper/build.gradle +++ b/gaiden-wrapper/build.gradle @@ -23,7 +23,7 @@ jar.archiveName = "gaiden-wrapper.jar" startScripts { doLast { unixScript.text = unixScript.text - .replace('"`dirname \\"$PRG\\"`/.."', '"`dirname \\"$PRG\\"`"') + .replace('"${APP_HOME:-./}.."', '"${APP_HOME:-./}"') .replace('$APP_HOME/lib', '$APP_HOME/wrapper') .replace('$GAIDENW_OPTS', '$GAIDENW_OPTS -Dapp.home=$APP_HOME') windowsScript.text = windowsScript.text