Fixed format.sh script

pull/3028/head
gabime 2 years ago
parent d61f0a5d5e
commit fbd1ebcebf

@ -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

Loading…
Cancel
Save