Summary Files Commits Branches @commit @diff @stats
path: root / generate-hooks / make-file-lists.sh
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rwxr-xr-xgenerate-hooks/make-file-lists.sh4
diff --git a/generate-hooks/make-file-lists.sh b/generate-hooks/make-file-lists.sh
index a930e9d..e407e19 100755
--- a/generate-hooks/make-file-lists.sh
+++ b/generate-hooks/make-file-lists.sh
@@ -49,11 +49,11 @@
# &&fod folder end
if [ -z "$1" ]; then
- echo First parameter must be a path
+ echo First parameter must be string with file paths
exit
fi
-for file in $(find "$1" -type f -name "*.html"); do
+for file in $1; do
sed -i 's/&#38;&#38;nos$/<table class="file-list"><tr>/g;
s/^<p>&#38;&#38;fos$/<details class="file-wrapper"><summary>/g;
s/^&#38;&#38;fs0$/<\/summary><table class="file-list"><tr>/g;