Kaydet (Commit) ee7f28ed authored tarafından Thomas Arnhold's avatar Thomas Arnhold

fix-includeguards.pl: handle odk/examples/DevelopersGuide

Change-Id: Ibdefb876d39419ff622917fcef427b33e3942ae4
üst cebb96ec
......@@ -28,7 +28,7 @@ for fn in "$@"; do
# global header in include/ top level dir:
# drop the project dir
fnfixed=`echo $fn | sed 's/\(include\|odk\/examples\/cpp\)\///g'`
fnfixed=`echo $fn | sed 's,\(include\|odk/examples/cpp\|odk/examples/DevelopersGuide\)/,,g'`
# convert file path to header guard
guard=`echo "$fnfixed" | sed 's/[\/\.-]/_/g' | tr 'a-z' 'A-Z'`
......
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