Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-schesch committed May 5, 2024
1 parent ff378ed commit 27fc76e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,13 @@ fi

mkdir -p "$OUT_DIR"

# Delete all locks in cache
find "$CACHE_DIR" -name "*.lock" -delete
find "repos" -name "*.lock" -delete
# Delete all locks
if [ -d "$CACHE_DIR" ]; then
find "$CACHE_DIR" -name "*.lock" -delete
fi
if [ -d "repos" ]; then
find "repos/locks" -name "*.lock" -delete
fi

# Delete .workdir
rm -rf .workdir
Expand Down

0 comments on commit 27fc76e

Please sign in to comment.