Skip to content

Commit

Permalink
_pkg.sh: stop converting Unix EOLs to CRLF to make Notepad happy [ci …
Browse files Browse the repository at this point in the history
…skip]

It seems Notepad (in Windows 10) got Unix EOL support a few years ago:
https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/
  • Loading branch information
vszakats committed Sep 10, 2021
1 parent 6f06db6 commit be6bfb2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion _pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ EOF
unix2dos --quiet --keepdate "${_fn}"
touch -c -r "$1" "${_fn}"

find "${_DST}" \( -name '*.txt' -o -name '*.md' -o -name '*.rst' \) -exec unix2dos --quiet --keepdate '{}' +
find "${_DST}" -depth -type d -exec touch -c -r "$1" '{}' \;
# NOTE: This isn't effective on MSYS2:
find "${_DST}" -name '*.a' -exec chmod a-x '{}' +
Expand Down

0 comments on commit be6bfb2

Please sign in to comment.