From f9b7f76ea7a996e9dbf07201257ef5e66bff5f9b Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 2 Jun 2007 02:13:09 +0200 Subject: [PATCH] setup-site: Only search for files to work on two directories deep Otherwise we will search e.g. through all the extracted changelogs for .sed.in files. --- bin/setup-site | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/setup-site b/bin/setup-site index 8e720df..c277ecb 100755 --- a/bin/setup-site +++ b/bin/setup-site @@ -11,7 +11,7 @@ fi echo -e "Using\n\ttopdir=$topdir\n\tsite=$site" -find "$topdir" -name '*.sed.in' | while read file; +find "$topdir" -maxdepth 2 -name '*.sed.in' | while read file; do wdir=$(dirname "$file") newfile="$wdir/"$(basename "$file" .sed.in) -- 2.39.2