Summary Files Commits Branches @commit @diff @stats
path: root / generate-dev.sh
diff options
context:
space:
mode:
Commitc58fcbfaa87274b7add52450816dfb478a354be9 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-09-28 15:39:57 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-09-28 15:39:57 +0300
Files5df3cc38e97a7b4940f273e58c7177934ace1673 /generate-dev.sh
syndamia.com-c58fcbfaa87274b7add52450816dfb478a354be9.tar
syndamia.com-c58fcbfaa87274b7add52450816dfb478a354be9.tar.gz
syndamia.com-c58fcbfaa87274b7add52450816dfb478a354be9.zip
Parent415bddff456082ce36aa1ebeb5b88034303ea225 (diff)
[hooks] Reworked generate hooks to use a string of all files to work on, rather than having to find it
1 files changed, 2 insertions, 1 deletions
-rwxr-xr-xgenerate-dev.sh3
diff --git a/generate-dev.sh b/generate-dev.sh
index ac61b04..8ed1fb2 100755
--- a/generate-dev.sh
+++ b/generate-dev.sh
@@ -12,8 +12,9 @@ sudo rm -f /var/www/synd/.files
# Generate files
sudo ssg src /var/www/synd/ "Syndamia" "https://www.syndamia.com"
+allnormfiles=$(find '/var/www/synd' -type f -name "*.html")
for file in $(find "./generate-hooks" -type f -name "*.sh"); do
- sudo "$file" /var/www/synd
+ sudo "$file" "$allnormfiles"
done
#