summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-07-01 16:39:26 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-07-01 16:39:26 +0200
commitf5bb73597265196f67bdba42375da72ddc78fe43 (patch)
tree47279e1d0460d8597eb9ade9914b7dd412ee7c74
parent2704e143798525c486ae260a9ff83efc1d391ff1 (diff)
downloadbin-f5bb73597265196f67bdba42375da72ddc78fe43.zip
bin-f5bb73597265196f67bdba42375da72ddc78fe43.tar.gz
easy_e17.sh use .git/info/exculde instead of .gitignore
-rwxr-xr-xeasy_e17.sh2
1 files changed, 1 insertions, 1 deletions
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
}