]> git.deb.at Git - deb/packages.git/commitdiff
setup-site: Only search for files to work on two directories deep
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 2 Jun 2007 00:13:09 +0000 (02:13 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 2 Jun 2007 00:13:09 +0000 (02:13 +0200)
Otherwise we will search e.g. through all the extracted changelogs
for .sed.in files.

bin/setup-site

index 8e720df286abf446b5d0fdcb3c4943268b78cfbf..c277ecba7850c1f1fafedba6dd8d8b3f34a17c9e 100755 (executable)
@@ -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)