Skip to content

Commit d1ba4b5

Browse files
committed
Fix Build in POSIX Shell
1 parent 6ccada2 commit d1ba4b5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

deploy.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,16 @@
3333

3434
# Install the requirements
3535
task('python:venv:requirements', static function () {
36-
run('. .venv/bin/activate && pip install -r requirements/base.txt');
36+
run('./.venv/bin/pip install -r requirements/base.txt');
3737
});
3838

3939
task('python:generate_redirects', static function () {
4040
run('mkdir -p etc/nginx');
41-
run('. .venv/bin/activate && bin/generate_nginx_redirects > etc/nginx/server.redirects.conf');
41+
run('./.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf');
4242
});
4343

44-
# Build the documentation
4544
task('python:build_documentation', static function () {
46-
run('. .venv/bin/activate && bin/build_docs');
45+
run('./.venv/bin/python bin/build_docs');
4746
run('ln -sf docs/_build/html pub');
4847
});
4948

0 commit comments

Comments
 (0)