Skip to content

Commit 6ccada2

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy.php

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

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

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

4444
# Build the documentation
4545
task('python:build_documentation', static function () {
46-
run('source .venv/bin/activate && bin/build_docs');
46+
run('. .venv/bin/activate && bin/build_docs');
4747
run('ln -sf docs/_build/html pub');
4848
});
4949

0 commit comments

Comments
 (0)