From 6861a4ace35cd0a9d89cfb46a295f37491441df1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Jun 2024 15:46:59 -0300 Subject: Feat: support for an .env file --- bin/provision | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') diff --git a/bin/provision b/bin/provision index f438a5e..f34bbbf 100755 --- a/bin/provision +++ b/bin/provision @@ -5,6 +5,12 @@ # Parameters DIRNAME="`dirname $0`" +BASEDIR="$DIRNAME/.." + +# Load optional customizations +[ -f "$BASEDIR/.env" ] && source $BASEDIR/.env + +# Bookdown packaging approach BOOKDOWN_PACKAGING="${BOOKDOWN_PACKAGING:-DEB}" # Dependencies -- cgit v1.2.3