use #!/usr/bin/env bash
This commit is contained in:
parent
f1d6e8e0a2
commit
18098a6859
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd $(dirname "$0")
|
||||
mkdir -p ./.dynamic
|
||||
|
@ -1,10 +1,11 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set +e
|
||||
|
||||
# Settings:
|
||||
# =========
|
||||
export CC=cc
|
||||
export URL=https://mjestecko.neocities.org
|
||||
|
||||
mkdir -p ./html/articles
|
||||
|
||||
@ -23,8 +24,8 @@ for d in ./articles/*/; do
|
||||
mkdir -p "./html/articles/$(basename -- $d)"
|
||||
cp -r "$d/.static/." "./html/articles/$(basename -- $d)/"
|
||||
fi
|
||||
./tools/article_wrapper.py "$d/page.mmd" https://mjestecko.neocities.org | ./tools/mmd/build/multimarkdown > "./html/articles/$(basename -- $d).html"
|
||||
./tools/article_wrapper.py "$d/page.mmd" $URL | ./tools/mmd/build/multimarkdown > "./html/articles/$(basename -- $d).html"
|
||||
fi
|
||||
done
|
||||
|
||||
./tools/feed_generator.py ./articles/ https://mjestecko.neocities.org > ./html/feed.xml
|
||||
./tools/feed_generator.py ./articles/ $URL > ./html/feed.xml
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set +e
|
||||
shopt -s extglob
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
Loading…
Reference in New Issue
Block a user