Skip to content

Commit cdabb8b

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
}
2929
run('mkdir -p .hypernode');
3030
run('virtualenv -p python3 .venv');
31-
run('echo export PYTHONPATH=$(pwd) >> .venv/bin/activate');
3231
});
3332

3433
# Install the requirements
@@ -38,7 +37,8 @@
3837

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

4444
# Build the documentation

0 commit comments

Comments
 (0)