diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-06-03 11:11:03 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-06-03 11:17:22 +0200 |
commit | ee7f28ed041542c76096777a85932be65e4cdf60 (patch) | |
tree | 0eef82fca293b75a20ec8bc2325d2616e0ac1174 /bin | |
parent | cebb96ec3a22d9023fb8a8d91f6c766a8a3866af (diff) |
fix-includeguards.pl: handle odk/examples/DevelopersGuide
Change-Id: Ibdefb876d39419ff622917fcef427b33e3942ae4
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fixincludeguards.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fixincludeguards.sh b/bin/fixincludeguards.sh index 6bdb59ec26ef..1dfceaa148d2 100755 --- a/bin/fixincludeguards.sh +++ b/bin/fixincludeguards.sh @@ -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'` |