Archived
1
0
Fork 0

Allow publish_dir to be overwritten by cli arg

This commit is contained in:
Siina Mashek 2024-02-17 16:24:00 +02:00
parent a8bfa8de77
commit f8a2a1e449

View file

@ -3,6 +3,9 @@
source ./config.sh source ./config.sh
# Overwrite publish_dir if passed as argument
[[ ! -z "$1" ]] && publish_dir="$1"
# a pretty nifty little logging utility! # a pretty nifty little logging utility!
nlog() { nlog() {
local ORANGE='\033[0;33m' local ORANGE='\033[0;33m'