Fixed a bug with shell script and added gitattributes to prevent non-binary pulls

Cygwin was unable to filter the specs files using the blacklist due to
the argument in find was -name *.txt instead of -name "*.txt" .

Also, it is currently possible to pull under windows to result in CRLF
line endings in scripts and other source files that destroy the build.
.gitattributes were added to prevent non-binary pulls.

Both issues are fixed with this pull request.
This commit is contained in:
Frank Park 2014-10-19 01:54:39 -04:00
parent bffebf81cc
commit 1682c7ae3e
2 changed files with 3 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* binary

View File

@ -19,7 +19,8 @@ if [ ! -d $1 ] ; then
mkdir -p $1 mkdir -p $1
# Parse each of the extensions in the registry # Parse each of the extensions in the registry
find $2 -name doc -type d -prune -o -name \*.txt -print | \ find $2 -name doc -type d -prune -o -name \
"*.txt" -print | \
grep -v -f $3 | sort | bin/parse_spec.pl $1 grep -v -f $3 | sort | bin/parse_spec.pl $1
fi fi