update tool/spark-dstore-patch.

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

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
echo "----------------Running Spark DStore Patch----------------" echo "----------------Running Spark DStore Patch----------------"
#!/bin/bash
enumAppInfoList() { enumAppInfoList() {
@ -33,7 +33,7 @@ linkDir() {
fi fi
ensureTargetDir "$targetFile" ensureTargetDir "$targetFile"
sourceFile=$(realpath --relative-to="$targetFile" "$sourceFile" ) sourceFile=$(realpath --relative-to="$(dirname $targetFile)" "$sourceFile" )
ln -s "$sourceFile" "$targetFile" ln -s "$sourceFile" "$targetFile"
done done
} }
@ -122,5 +122,4 @@ else
fi fi
echo "----------------Finished----------------" echo "----------------Finished----------------"