Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shelm
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ fetch() {

# List dependencies in the local package cache, in the form $author/$project/$version.
list_dependencies() {
cd "$pkgdir" && find . -type d -depth 3 | sed 's|^./||'
cd "$pkgdir" && (find . -type d | grep -E '^\.(\/[^\/]+){3}$' | sed 's|^./||' || :)
}

# Prune dependencies from the local package cache that don't match the required
Expand Down