diff --git a/scripts/format.sh b/scripts/format.sh index 8eb01fb9..2a4b6163 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -2,7 +2,7 @@ cd "$(dirname "$0")"/.. pwd -find_sources="find include src tests example bench -not ( -path include/spdlog/fmt/bundled -prune ) -type f -name *\.h -o -name *\.cpp" +find_sources="find include src tests example bench -type f -name *\.h -o -name *\.cpp" echo -n "Running dos2unix " $find_sources | xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'" echo