Introduction
Introduction Statistics Contact Development Disclaimer Help
style consistency: use ${} for variable names (except $1 etc) - static-site-scr…
git clone git://git.codemadness.org/static-site-scripts
Log
Files
Refs
README
LICENSE
---
commit 6f70295baba7ccde865f0913ced236e5d05cc07e
parent c1d70ac0a819ce61919d909207bab64d522128e9
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 11 Oct 2015 16:54:00 +0200
style consistency: use ${} for variable names (except $1 etc)
Diffstat:
M generate.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/generate.sh b/generate.sh
@@ -68,7 +68,7 @@ pagereset() {
pageread() {
meta="$1"
- . "$meta" # source page metadata.
+ . "${meta}" # source page metadata.
basename=$(basename "${meta}" ".sh")
datecreated=$(printf '%s' "${timecreated}" | cut -b 1-10)
dateupdated=$(printf '%s' "${timeupdated}" | cut -b 1-10)
@@ -193,7 +193,7 @@ contentatom=""
contentsitemap=""
while read -r meta; do
pagereset
- pageread "$meta"
+ pageread "${meta}"
pagecontent > "${outputdir}/${outfile}"
# index / posts item: append.
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.