Skip to content
Snippets Groups Projects
Commit 4380d741 authored by Andrew Cooks's avatar Andrew Cooks
Browse files

add cleanup step to remove /*-----*/ comments

parent c65d2827
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,13 @@ for f in *.c *.h ; do
done
# remove horizontal line breaks like /* ------ */
sed -i 's|/\*\s*---*---*\s*\*/||g' *.c
# Insert new cleanup steps above this comment.
# Keep Lindent as the last step.
# Use the kernel's scripts/Lindent utility
if [ -z "$LINDENT" -o ! -x "$LINDENT" ] ; then
echo " You need to set the LINDENT environment variable to specify where the Lindent script is (Hint: in the kernel sources at scripts/Lindent)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment