eonn-site

scripts and documents that generate eonn.xyz
git clone git://git.eonn.xyz/eonn-site.git
Log | Files | Refs

commit ce0833df1569740f0bd118124d997666ecd0d218
parent 808d73247691d2e0f089811b9257e5260c84d0d0
Author: Ian Ressa <ian@eonn.xyz>
Date:   Sun, 20 Feb 2022 23:43:39 -0500

fixing messy directory, mkdir

Diffstat:
Mbin/publish | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/publish b/bin/publish @@ -7,8 +7,8 @@ die(){ ([[ -d bin ]] && [[ -d src ]]) || die "must run within base folder" echo "generating website..." -mkdir dst -bin/ssg5 ~/web/src ~/web/dst 'eonn' 'https://eonn.xyz' || die "ssg5 exited with an error" +mkdir -p dst +bin/ssg5 src dst 'eonn' 'https://eonn.xyz' || die "ssg5 exited with an error" echo "generating RSS..." bin/indexgen > dst/rssindex.html bin/rssg dst/rssindex.html 'eonn blog' > dst/rss.xml || die "rssg exited with an error"