]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - copy-gitattributes-to-branches.sh
replace d0_blind_id lib by current one (linux32)
[xonotic/xonotic.git] / copy-gitattributes-to-branches.sh
index 6ebe5e3ec14e59fdf8476780dad85a02b2fbc21d..dd6c51e93f149c24f56f211518be5477a2fd7e8c 100755 (executable)
@@ -22,7 +22,8 @@ case "$1" in
                        esac
                        git checkout -t "${REFNAME#refs/remotes/}" || git checkout "${REFNAME#refs/remotes/origin/}"
                        git reset --hard "$REFNAME"
-                       echo "$attr" > "${me%/*}/.gitattributes"
+                       echo "$attr" > ".gitattributes"
+                       find . -type f -exec touch {} \+
                        git update-index --refresh
                        git add .gitattributes
                        git commit -a -m"CRLF fixes, .gitattributes file updated"