aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-06 15:57:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-06-06 15:57:39 -0300
commit381a275c82e9b2bce2169f952fe129531e9ed47e (patch)
tree68bf8cffe20549439db671847d9af499d29f7c29 /bin
parent6861a4ace35cd0a9d89cfb46a295f37491441df1 (diff)
downloadbookup-381a275c82e9b2bce2169f952fe129531e9ed47e.tar.gz
bookup-381a275c82e9b2bce2169f952fe129531e9ed47e.tar.bz2
Feat: support for an .env file (2)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/provision2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/provision b/bin/provision
index f34bbbf..478e2bd 100755
--- a/bin/provision
+++ b/bin/provision
@@ -9,6 +9,8 @@ BASEDIR="$DIRNAME/.."
# Load optional customizations
[ -f "$BASEDIR/.env" ] && source $BASEDIR/.env
+[ -f "$BASEDIR/../.env" ] && source $BASEDIR/../.env
+[ -f "$BASEDIR/../../.env" ] && source $BASEDIR/../../.env
# Bookdown packaging approach
BOOKDOWN_PACKAGING="${BOOKDOWN_PACKAGING:-DEB}"