dosbox-x/dos2unix.sh
Robert de Rooy 694cc766a4 Cleanup Bash scripts.
This makes them pass shellcheck. Except for a few unused
export warnings.

I also wonder if the majority of these files should be
in the root of the project, or should be moved to "build-scripts"
(or should still even exist).

a few minor changes

one more minor changes
2023-04-15 15:53:08 +02:00

6 lines
129 B
Bash
Executable File

#!/usr/bin/env bash
for ext in c cpp h; do
find . -iname \*.$ext | while read -r X; do dos2unix -- "${X}" || exit 1; done
done