mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
.
This commit is contained in:
18
Scripts/Lib/Globals.sh
Normal file
18
Scripts/Lib/Globals.sh
Normal file
@ -0,0 +1,18 @@
|
||||
#!/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)"
|
Reference in New Issue
Block a user