From 52f42447b4932caf7d436ccbdd3238b79fdfa886 Mon Sep 17 00:00:00 2001 From: shenmo Date: Mon, 11 Dec 2023 14:32:04 +0000 Subject: [PATCH] update tool/spark-dstore-patch. Signed-off-by: shenmo --- tool/spark-dstore-patch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tool/spark-dstore-patch b/tool/spark-dstore-patch index d64b54c..609ff5a 100755 --- a/tool/spark-dstore-patch +++ b/tool/spark-dstore-patch @@ -39,7 +39,11 @@ linkDir() { linkApp() { appID=$1 + if [ "$IS_ACE_ENV" = "1" ];then appEntriesDir="../../../opt/apps/$appID/entries" + else + appEntriesDir="/opt/apps/$appID/entries" + fi appLibsDir="/opt/apps/$appID/files/lib" autoStartDir="$appEntriesDir/autostart" @@ -121,4 +125,4 @@ fi -echo "----------------Finished----------------" +echo "----------------Finished----------------" \ No newline at end of file