mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-08 04:12:21 +08:00
update tool/spark-dstore-patch.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
52f42447b4
commit
080cd44229
@ -33,17 +33,15 @@ linkDir() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ensureTargetDir "$targetFile"
|
ensureTargetDir "$targetFile"
|
||||||
|
sourceFile=$(realpath --relative-to="$targetFile" "$sourceFile" )
|
||||||
ln -s "$sourceFile" "$targetFile"
|
ln -s "$sourceFile" "$targetFile"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
linkApp() {
|
linkApp() {
|
||||||
appID=$1
|
appID=$1
|
||||||
if [ "$IS_ACE_ENV" = "1" ];then
|
|
||||||
appEntriesDir="../../../opt/apps/$appID/entries"
|
|
||||||
else
|
|
||||||
appEntriesDir="/opt/apps/$appID/entries"
|
appEntriesDir="/opt/apps/$appID/entries"
|
||||||
fi
|
|
||||||
appLibsDir="/opt/apps/$appID/files/lib"
|
appLibsDir="/opt/apps/$appID/files/lib"
|
||||||
autoStartDir="$appEntriesDir/autostart"
|
autoStartDir="$appEntriesDir/autostart"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user