diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-18 14:05:42 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-18 14:32:34 +0200 |
commit | e0f08c06aa49e9c3d63f57ffb643d0eba561096e (patch) | |
tree | 6e9f5ba0c2b99d38c091dab3758e74e3eefc38fb /bin/fixincludeguards.sh | |
parent | a7eae9c280d860ca12b6300539404bec16700a7b (diff) |
fixincludeguards.pl: handle odk/examples
Now we have nice example header guards ;)
Change-Id: I1a5f8031cf267abf67dc4fbb20880d23e3640867
Diffstat (limited to 'bin/fixincludeguards.sh')
-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 4c3e409a88dc..6bdb59ec26ef 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\///g'` + fnfixed=`echo $fn | sed 's/\(include\|odk\/examples\/cpp\)\///g'` # convert file path to header guard guard=`echo "$fnfixed" | sed 's/[\/\.-]/_/g' | tr 'a-z' 'A-Z'` |