update tool/spark-dstore-patch.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2023-12-11 15:15:23 +00:00 committed by Gitee
parent 52f42447b4
commit 080cd44229
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -33,17 +33,15 @@ linkDir() {
fi
ensureTargetDir "$targetFile"
sourceFile=$(realpath --relative-to="$targetFile" "$sourceFile" )
ln -s "$sourceFile" "$targetFile"
done
}
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"