mirror of https://gitlab.com/octtspacc/sitoctt
19 lines
396 B
Bash
19 lines
396 B
Bash
#!/bin/sh
|
|
|
|
RepoUrl="https://gitlab.com/octtspacc/sitoctt.git"
|
|
BranchThis="sitoctt-next"
|
|
BranchTranslate="translate-cache"
|
|
HugoVersion="0.133.0"
|
|
|
|
#/bin/sh!
|
|
|
|
set -e
|
|
owd="$(pwd)"
|
|
swd="$(dirname "$(realpath "$0")")"
|
|
if [ ! -e "${swd}/Lib/Globals.sh" ]
|
|
then swd="${swd}/.."
|
|
fi
|
|
eval "$(sed -e 's| = |=|g' "${swd}/../config.toml")"
|
|
|
|
Python3="$([ -n "$(which python3)" ] && echo python3 || echo python)"
|