projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6185210
)
install-symlinks: ignore .gitignore
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Sun, 2 Jan 2011 20:37:09 +0000 (12:37 -0800)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Sun, 2 Jan 2011 20:37:09 +0000 (12:37 -0800)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
install-symlinks.sh
patch
|
blob
|
history
diff --git
a/install-symlinks.sh
b/install-symlinks.sh
index
d381326
..
17e0f0a
100755
(executable)
--- a/
install-symlinks.sh
+++ b/
install-symlinks.sh
@@
-24,9
+24,8
@@
for file in ${BASEDIR}/.[^.]*; do
relfile=`echo ${file} | sed 's_.*/\([^/]*/[^/]*\)$_\1_'`
# skip files which we don't want to link
- if [ "${basefile}" == ".git" ]; then
- continue;
- fi
+ [ "${basefile}" == ".git" ] && continue
+ [ "${basefile}" == ".gitignore" ] && continue
pushd .. > /dev/null
if [ -L ${basefile} ]; then