Addressed an odd issue with a variable on mkpage

Signed-off-by: Aoi Koizumi <novaburst@kalli.st>
This commit is contained in:
Aoi Koizumi 2022-01-21 22:53:26 -03:00
parent ba50b03bcd
commit 21f64d8f8f
1 changed files with 2 additions and 1 deletions

3
mkpage
View File

@ -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