Skip to content

Commit f6b661c

Browse files
authored
Update post-upgrade part 2 (#730)
1 parent b0ce41a commit f6b661c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/post-upgrade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ printf 'Do you want to proceed with the upgrade? (y/N)? '
66
read -r answer
77
if [ "$answer" != "${answer#[Yy]}" ]; then
88
# Retrieve prod or dev from .env.local.php file
9-
ENV=$(grep -oP "'APP_ENV' => '\K[^']+" .env.local.php)
9+
ENV=$(grep -oP "'APP_ENV' => '\K[^']+" "$BIN_DIR/../.env.local.php")
1010
if [[ "$ENV" == "dev" ]]; then
1111
# Development
1212
echo -e "INFO: Environment detected: Development\n"

0 commit comments

Comments
 (0)