about summary refs log tree commit diff
path: root/Util/preconfig
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2009-06-01 17:23:28 +0000
committerWayne Davison <wayned@users.sourceforge.net>2009-06-01 17:23:28 +0000
commit6192a49bfba17eb765a9cd77be1292c5bceb3084 (patch)
tree7368830b4fd2595d88f026b837a092d458acc36e /Util/preconfig
parent81551829918c9b8f1ce7552493ae3d009ac6bde8 (diff)
downloadzsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar.gz
zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar.xz
zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.zip
Tweak find to prune a .git dir. This allows a .git/cvs dir to exist
with a cvs checkout in it.
Diffstat (limited to 'Util/preconfig')
-rwxr-xr-xUtil/preconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/preconfig b/Util/preconfig
index 2ad6ed2f3..aa4c93e71 100755
--- a/Util/preconfig
+++ b/Util/preconfig
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-find . -name '?*.*' -prune -o -name .preconfig -print | (
+find . -name .git -prune -o -name '?*.*' -prune -o -name .preconfig -print | (
     while read pre; do
 	cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'`
 	echo >&2 "$cmd"