]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - check-gitattributes.sh
Merge branch 'marin-t/contributing' into 'master'
[xonotic/xonotic.git] / check-gitattributes.sh
index e461a7cfb8b25e98e46323fb3347904b68be5aa3..bb3022c4cf29ff9512026bf84ba9c81ec97a7e21 100755 (executable)
@@ -9,14 +9,20 @@ ISTEXT=" crlf=input"
 LF="
 "
 eol=`cat .gitattributes`
-find . -name .git -prune -o \( -type f -print \) | {
+find . -name .git -prune -o -name xonotic-nexcompat.pk3dir -prune -o \( -type f -print \) | {
        unseen=`echo "$eol" | cut -d ' ' -f 1 | grep .`
        neweol=
        while IFS= read -r LINE; do
                nam=${LINE##*/}
                case "$nam" in
+                       *.txt.*)
+                               nam="*.txt.*"
+                               ;;
+                       *.db.*)
+                               nam="*.db.*"
+                               ;;
                        *.*)
-                               nam=*.${nam##*.}
+                               nam="*.${nam##*.}"
                                ;;
                esac
                t=`file -b --mime-type "$LINE"`