Addressed an odd issue with a variable on mkpage
Signed-off-by: Aoi Koizumi <novaburst@kalli.st>
This commit is contained in:
parent
ba50b03bcd
commit
21f64d8f8f
3
mkpage
3
mkpage
|
@ -2,9 +2,10 @@
|
|||
# Metadata generator for static-site-scripts
|
||||
# It can also generate either the markdown pages or the html pages
|
||||
|
||||
UUID_GEN_TOOL="uuidgen"
|
||||
VERSION=$(git rev-parse --short HEAD)
|
||||
|
||||
page_id="$(uuidgen)"
|
||||
page_id="$(which $UUID_GEN_TOOL)"
|
||||
|
||||
gen_html() {
|
||||
touch pages/${page_id}.html
|
||||
|
|
Loading…
Reference in New Issue