From 6f3ed07fed6c7434e77e8800ba834d2f4c23da08 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 12 Oct 2010 00:31:58 -0700 Subject: [PATCH] * make-dist: Use find for the whole etc/ directory. --- make-dist | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/make-dist b/make-dist index 8db45b225e1..6da5502a3d8 100755 --- a/make-dist +++ b/make-dist @@ -488,27 +488,11 @@ echo "Making links to \`lwlib'" ln *.[ch] *.in ../${tempdir}/lwlib ln README ChangeLog ../${tempdir}/lwlib) -echo "Making links to \`etc'" -(cd etc - for f in *; do - [ -f "$f" ] || continue - case "$f" in - DOC*) continue ;; - esac - ln $f ../${tempdir}/etc - done) - -for dir in etc/*/; do - case "$dir" in - etc/images/) continue ;; - esac - echo "Making links to \`${dir}'" - (cd ${dir} - ln * ../../${tempdir}/${dir}) -done - -echo "Making links to \`etc/images' and its subdirectories" -for f in `find etc/images -type f`; do +echo "Making links to \`etc' and its subdirectories" +for f in `find etc -type f`; do + case $f in + etc/DOC*) continue ;; + esac ln $f $tempdir/$f done -- 2.39.5