diff options
-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'` |