fix another typo
authorRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 08:52:05 +0000 (10:52 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 08:52:05 +0000 (10:52 +0200)
copy-gitattributes-to-branches.sh

index 6ebe5e3ec14e59fdf8476780dad85a02b2fbc21d..1b4ad07522f8e6dff21b92fc2928c996264fd55c 100755 (executable)
@@ -22,7 +22,7 @@ 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"
                        git update-index --refresh
                        git add .gitattributes
                        git commit -a -m"CRLF fixes, .gitattributes file updated"