diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-06 15:46:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-06 15:46:59 -0300 |
commit | 6861a4ace35cd0a9d89cfb46a295f37491441df1 (patch) | |
tree | 60d069344b08b8580e722c9e0cc9d5fe97aba9f2 | |
parent | 92a57440020be9cb84320b45dbbb28a86fad464d (diff) | |
download | bookup-6861a4ace35cd0a9d89cfb46a295f37491441df1.tar.gz bookup-6861a4ace35cd0a9d89cfb46a295f37491441df1.tar.bz2 |
Feat: support for an .env file
-rwxr-xr-x | bin/provision | 6 |
1 files changed, 6 insertions, 0 deletions
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 |