diff options
| author | Wayne Davison <wayned@users.sourceforge.net> | 2009-06-01 17:23:28 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@users.sourceforge.net> | 2009-06-01 17:23:28 +0000 |
| commit | 6192a49bfba17eb765a9cd77be1292c5bceb3084 (patch) | |
| tree | 7368830b4fd2595d88f026b837a092d458acc36e /Util/mkdisttree.sh | |
| parent | release 4.3.10 (diff) | |
| download | zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar.gz zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar.bz2 zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar.lz zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar.xz zsh-6192a49bfba17eb765a9cd77be1292c5bceb3084.tar.zst 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/mkdisttree.sh')
| -rwxr-xr-x | Util/mkdisttree.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/mkdisttree.sh b/Util/mkdisttree.sh index 92ded2f18..17b936ed7 100755 --- a/Util/mkdisttree.sh +++ b/Util/mkdisttree.sh @@ -46,7 +46,7 @@ filelist=filelist$$ trap 'rm -f $filelist; rm -rf $disttree; exit 1' 1 2 15 ( cd $sdir_top - find . -name '?*.*' -prune -o -name .distfiles -print + find . -name .git -prune -o -name '?*.*' -prune -o -name .distfiles -print ) > $filelist ( while read dfn; do subdir=`echo $dfn | sed 's,/\.distfiles$,,'` |
