From: Rudolf Polzer Date: Sat, 17 Apr 2010 18:49:52 +0000 (+0200) Subject: fix check-gitattributes script ignoring .git folders X-Git-Tag: xonotic-v0.1.0preview~493 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=6cac8f921eb4ac15017ef13206a595f600390b42 fix check-gitattributes script ignoring .git folders --- diff --git a/check-gitattributes.sh b/check-gitattributes.sh index d3c540fc..6a35c4c0 100755 --- a/check-gitattributes.sh +++ b/check-gitattributes.sh @@ -9,7 +9,7 @@ ISTEXT=" crlf=input" LF=" " eol=`cat .gitattributes` -find . -type f | { +find . -name .git -prune -o \( -type f -print \) | { unseen=`echo "$eol" | cut -d ' ' -f 1 | grep .` neweol= while IFS= read -r LINE; do