Skip to content

Commit

Permalink
#2 fix: shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jan 6, 2025
1 parent b1957b2 commit 10d8660
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions runner.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

set -a
# shellcheck disable=SC1091
source .env
set +a
set -ue
Expand Down
4 changes: 2 additions & 2 deletions setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ build_admin() {
if [ ! -f "$BLOG_ADMIN_DIR/.env" ]; then
echo ' ∟ .env file missing, copying from .env.example...'
cp "$BLOG_ADMIN_DIR/.env.production" "$BLOG_ADMIN_DIR/.env"
composer $COMPOSER_COMMAND
composer "$COMPOSER_COMMAND"
/usr/bin/php8.3 artisan key:generate
else
composer $COMPOSER_COMMAND
composer "$COMPOSER_COMMAND"
fi

if [ "$ENV" = "dev" ]; then
Expand Down

0 comments on commit 10d8660

Please sign in to comment.