Skip to content
Snippets Groups Projects
Commit 57f3ac27 authored by Henry Weller's avatar Henry Weller
Browse files

wrmdep: Now prints the full path of the .dep files removed

parent 69054254
Branches
Tags
1 merge request!60Merge foundation
......@@ -152,8 +152,8 @@ files)
find $objectsDir -name '*.dep' -print | xargs -t rm 2>/dev/null
else
echo "removing .dep files referring to $1 ..."
find $objectsDir -name '*.dep' -exec grep "$1" '{}' \; \
-exec rm '{}' \;
find $objectsDir -name '*.dep' -exec grep -q "$1" '{}' \; \
-exec rm '{}' \; -print
fi
;;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment