From aca89f9abe393e4b03f8c7473b3ac4470bec1560 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 7 Apr 2018 08:21:34 +0200 Subject: [PATCH] Updated links to doctrine CLI scripts to avoid depending on symlinks --- module/CLI/src/Command/Install/InstallCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/CLI/src/Command/Install/InstallCommand.php b/module/CLI/src/Command/Install/InstallCommand.php index 06f1be93..80f0a2c7 100644 --- a/module/CLI/src/Command/Install/InstallCommand.php +++ b/module/CLI/src/Command/Install/InstallCommand.php @@ -134,7 +134,7 @@ class InstallCommand extends Command if (! $this->isUpdate) { $this->io->write('Initializing database...'); if (! $this->runCommand( - 'php vendor/bin/doctrine orm:schema-tool:create', + 'php vendor/doctrine/orm/bin/doctrine orm:schema-tool:create', 'Error generating database.', $output )) { @@ -145,7 +145,7 @@ class InstallCommand extends Command // Run database migrations $this->io->write('Updating database...'); if (! $this->runCommand( - 'php vendor/bin/doctrine-migrations migrations:migrate', + 'php vendor/doctrine/migrations/bin/doctrine-migrations migrations:migrate', 'Error updating database.', $output )) { @@ -155,7 +155,7 @@ class InstallCommand extends Command // Generate proxies $this->io->write('Generating proxies...'); if (! $this->runCommand( - 'php vendor/bin/doctrine orm:generate-proxies', + 'php vendor/doctrine/orm/bin/doctrine orm:generate-proxies', 'Error generating proxies.', $output )) {