From c58fcbfaa87274b7add52450816dfb478a354be9 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 28 Sep 2022 15:39:57 +0300 Subject: [hooks] Reworked generate hooks to use a string of all files to work on, rather than having to find it --- generate-hooks/make-descriptions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generate-hooks/make-descriptions.sh') diff --git a/generate-hooks/make-descriptions.sh b/generate-hooks/make-descriptions.sh index 8268019..1ea7a9f 100755 --- a/generate-hooks/make-descriptions.sh +++ b/generate-hooks/make-descriptions.sh @@ -1,12 +1,11 @@ #!/bin/bash if [ -z "$1" ]; then - echo First parameter must be a path + echo First parameter must be string with file paths exit fi # Loop through all HTML files in given directory -for file in $(find "$1" -type f -name "*.html"); do # Get text that matches "p>any amount of characters" and "