From f5bb73597265196f67bdba42375da72ddc78fe43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= <jeremy@asynk.ch>
Date: Fri, 1 Jul 2011 16:39:26 +0200
Subject: easy_e17.sh use .git/info/exculde instead of .gitignore

---
 easy_e17.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/easy_e17.sh b/easy_e17.sh
index 66034df..b0e0db0 100755
--- a/easy_e17.sh
+++ b/easy_e17.sh
@@ -807,7 +807,7 @@ function git_fetch ()
         echo "- clone sources in '$src_path' ..."
 		cd $src_path/..
         git clone $git_url $src_path
-        cd $src_path && echo -e "*~\n*.o\n.libs\n.deps\n**.cache" > .gitignore && git add .gitignore && git commit -m "add .gitignore"
+        cd $src_path && echo -e "*~\n*.o\n*.lo\n*.m4\n.libs\n.deps\n**.cache" >> .git/info/exclude
         touch "$tmp_path/git-clone" "$tmp_path/source_update.log"
 	fi
 }
-- 
cgit v1.1-2-g2b99