Commit af57fd2a authored by Henry Weller's avatar Henry Weller
Browse files

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

parent 16714f35
......@@ -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
;;
......
Markdown is supported
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