summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Schafft <lion@lion.leolix.org>2017-04-30 11:42:39 +0000
committerPhilipp Schafft <lion@lion.leolix.org>2017-04-30 11:42:39 +0000
commitb75d048a317757116307dac8c03fe7b33cb85785 (patch)
tree579f7434c7e622ef21fdd0b16099b79012dadad0
parent7f5a80cb6129524330e08f33265b002e02ca7469 (diff)
Cleanup: Moved { on the same line as function name
-rwxr-xr-xwebgen6
1 files changed, 2 insertions, 4 deletions
diff --git a/webgen b/webgen
index 723fefa..59bcefc 100755
--- a/webgen
+++ b/webgen
@@ -325,8 +325,7 @@ cat_file() {
esac
}
-gen_news()
-{
+gen_news() {
if [ ! -d NEWS/ ]
then
return 1
@@ -348,8 +347,7 @@ gen_news()
done
}
-gen_faq()
-{
+gen_faq() {
find FAQ/ -type d -not -wholename \*CVS\* | sed 's#^FAQ/##;' | grep -v ^$ | sort > "$OF.FAQCATS"
find FAQ/ -type f -not -wholename \*CVS\* -and -name \*.faq | sed 's#^FAQ/##; s#\.faq$##' | sort > "$OF.FAQINDEX"
echo