Skip to content

Commit 7bd2f9c

Browse files
committed
Fix Build in POSIX Shell
1 parent 2078648 commit 7bd2f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.php

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

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

4444
# Build the documentation

0 commit comments

Comments
 (0)