mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
Fixed a bug with shell script and added .gitattributes
Update_ext.sh does not utilize the blacklist correctly with cygwin due to the argument -name in find is not quoted. Argument *.txt has been changed to "*.txt" to fix the issue. Also, it is currently possible for windows users to pull the repo in CRLF format which destroys the scripts and source files. .gitattributes were added to prevent this issue.
This commit is contained in:
parent
bffebf81cc
commit
a790eb8129
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
* eol=lf
|
@ -19,7 +19,8 @@ if [ ! -d $1 ] ; then
|
||||
mkdir -p $1
|
||||
|
||||
# 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
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user