Allow publish_dir to be overwritten by cli arg
This commit is contained in:
parent
a8bfa8de77
commit
f8a2a1e449
1 changed files with 3 additions and 0 deletions
3
noter.sh
3
noter.sh
|
@ -3,6 +3,9 @@
|
|||
|
||||
source ./config.sh
|
||||
|
||||
# Overwrite publish_dir if passed as argument
|
||||
[[ ! -z "$1" ]] && publish_dir="$1"
|
||||
|
||||
# a pretty nifty little logging utility!
|
||||
nlog() {
|
||||
local ORANGE='\033[0;33m'
|
||||
|
|
Reference in a new issue