diff --git a/tribits/refactoring/lower-case-cmake-tree.sh b/tribits/refactoring/lower-case-cmake-tree.sh new file mode 100755 index 000000000..462cdb031 --- /dev/null +++ b/tribits/refactoring/lower-case-cmake-tree.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# +# Usage: +# +# lower-case-cmake-tree.sh +# +_SCRIPT_DIR=`echo $0 | sed "s/\(.*\)\/lower-case-cmake-tree[.]sh/\1/g"` +baseDir=$1 +find ${baseDir} -type f \ + \( -name CMakeLists.txt -or -name "*.cmake" -or "*.rst" \) \ + -exec $_SCRIPT_DIR/../python_utils/lower_case_cmake.py {} ';'