From eed413aa64c5ddd85661908fa11ef90b7409c246 Mon Sep 17 00:00:00 2001 From: vhsdream Date: Sun, 8 Jun 2025 21:30:17 -0400 Subject: [PATCH] Maybe: use export instead --- ct/maybefinance.sh | 3 ++- install/maybefinance-install.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ct/maybefinance.sh b/ct/maybefinance.sh index fd613baa..d6a7b8d0 100644 --- a/ct/maybefinance.sh +++ b/ct/maybefinance.sh @@ -49,7 +49,8 @@ function update_script() { $STD ./bin/bundle install $STD ./bin/bundle exec bootsnap precompile --gemfile -j 0 $STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/ - SECRET_KEY_BASE_DUMMY=1 $STD ./bin/rails assets:precompile + export SECRET_KEY_BASE_DUMMY=1 + $STD ./bin/rails assets:precompile $STD dotenv -f ./.env ./bin/rails db:prepare msg_ok "Updated $APP to v${RELEASE}" diff --git a/install/maybefinance-install.sh b/install/maybefinance-install.sh index ffaf0496..696ef7c2 100644 --- a/install/maybefinance-install.sh +++ b/install/maybefinance-install.sh @@ -74,7 +74,8 @@ RAILS_ASSUME_SSL=false' \ $STD ./bin/bundle install $STD ./bin/bundle exec bootsnap precompile --gemfile -j 0 $STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/ -SECRET_KEY_BASE_DUMMY=1 $STD ./bin/rails assets:precompile +export SECRET_KEY_BASE_DUMMY=1 +$STD ./bin/rails assets:precompile $STD dotenv -f ./.env ./bin/rails db:prepare echo "${RELEASE}" >/opt/maybe_version.txt msg_ok "Installed ${APPLICATION}"