Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: make targz-src on BSD.



I found that `make targz-src' doesn't work on FreeBSD.  (and with
other BSDish find?).  Because *.* matches . itself.

Index: Util/mkdisttree.sh
===================================================================
RCS file: /cvsroot/zsh/zsh/Util/mkdisttree.sh,v
retrieving revision 1.2
diff -u -r1.2 mkdisttree.sh
--- Util/mkdisttree.sh	2000/04/05 19:30:39	1.2
+++ Util/mkdisttree.sh	2000/05/06 08:01:12
@@ -46,7 +46,7 @@
 trap 'rm -f $filelist; rm -rf $disttree; exit 1' 1 2 15
 (
     cd $sdir_top
-    find . -name '*.*' -prune -o -name .distfiles -print
+    find . -name '?*.*' -prune -o -name .distfiles -print
 ) > $filelist
 ( while read dfn; do
     subdir=`echo $dfn | sed 's,/\.distfiles$,,'`
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author