Skip to content

Commit e74a179

Browse files
committed
Fix build
1 parent bc37c18 commit e74a179

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

webapp/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ copy-bundle-assets:
1414
# the include paths are broken. We just copy in the data we need
1515
-rm -rf public/bundles/nelmioapidoc
1616
mkdir -p public/bundles/nelmioapidoc
17-
cp -R ../lib/vendor/nelmio/api-doc-bundle/Resources/public/* public/bundles/nelmioapidoc/
17+
cp -R ../webapp/vendor/nelmio/api-doc-bundle/Resources/public/* public/bundles/nelmioapidoc/
1818

1919
clean-l:
2020
-rm -rf public/bundles/nelmioapidoc
@@ -46,9 +46,9 @@ install-domserver:
4646
# Now change all relative symlinks in webapp/public to their correct paths
4747
for link in $$(find $(DESTDIR)$(domserver_webappdir)/public/$$dir -maxdepth 2 -type l); do \
4848
target=$$(readlink $$link) ; \
49-
if echo $${target} | grep -q '\.\./\.\./lib/vendor' ; then \
49+
if echo $${target} | grep -q '\.\./\.\./webapp/vendor' ; then \
5050
rm $$link ; \
51-
realtarget=$(domserver_webappdir)vendor$$(echo $${target} | sed 's!^.*\.\./\.\./lib/vendor!!') ; \
51+
realtarget=$(domserver_webappdir)vendor$$(echo $${target} | sed 's!^.*\.\./\.\./webapp/vendor!!') ; \
5252
ln -s $$realtarget $$link ; \
5353
fi \
5454
done

webapp/bin/console

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
use App\Kernel;
55
use Symfony\Bundle\FrameworkBundle\Console\Application;
66

7-
if (!is_file(dirname(__DIR__, 2) . '/lib/vendor/autoload_runtime.php')) {
7+
if (!is_file(dirname(__DIR__, 2) . '/webapp/vendor/autoload_runtime.php')) {
88
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
99
}
1010

11-
require_once dirname(__DIR__, 2) . '/lib/vendor/autoload_runtime.php';
11+
require_once dirname(__DIR__, 2) . '/webapp/vendor/autoload_runtime.php';
1212
require_once dirname(__DIR__) . '/config/load_db_secrets.php';
1313

1414
set_time_limit(0);

webapp/public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use App\Kernel;
44

5-
require_once dirname(__DIR__, 2) . '/lib/vendor/autoload_runtime.php';
5+
require_once dirname(__DIR__, 2) . '/webapp/vendor/autoload_runtime.php';
66
require_once dirname(__DIR__) . '/config/load_db_secrets.php';
77

88
return function (array $context) {

0 commit comments

Comments
 (0)