mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-13 20:32:05 +08:00
修复:在存在空格时无法正确创建desktop
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
@@ -30,7 +30,7 @@ linkDir() {
|
||||
|
||||
ensureTargetDir "$targetFile"
|
||||
sourceFile=$(realpath --relative-to="$(dirname $targetFile)" "$sourceFile" )
|
||||
if [ ! -e ${targetFile} ];then
|
||||
if [ ! -e "${targetFile}" ];then
|
||||
ln -sv "$sourceFile" "$targetFile"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user