We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8f975 commit 2cf56d9Copy full SHA for 2cf56d9
1 file changed
src/scripts/unix.sh
@@ -120,7 +120,8 @@ get() {
120
sudo curl "${curl_opts[@]}" "${links[0]}"
121
else
122
if [ "$runner" = "self-hosted" ]; then
123
- lock_path="$file_path.lock"
+ path_hash="$(printf '%s' "$file_path" | sha256sum | cut -d' ' -f1)"
124
+ lock_path="/tmp/sp-lck-${path_hash}"
125
acquire_lock "$lock_path"
126
if [ "$execute" = "-e" ]; then
127
until [ -z "$(fuser "$file_path" 2>/dev/null)" ]; do
0 commit comments