diff options
| author | user@node5.net <user@node5.net> | 2026-06-07 20:25:27 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-06-07 20:25:27 +0200 |
| commit | 693525e6444a74980ddfffb32ffe561c53dfcc24 (patch) | |
| tree | 53d019e62bd96d6aaec6a7f13e78ff9bb1b7495f /src | |
| parent | 5f9c29567388829eab1f7b58b260b8a90b441ed3 (diff) | |
git clone - fix path on on nixos uwsgi
Diffstat (limited to 'src')
| -rw-r--r-- | src/blog_node5_net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blog_node5_net.py b/src/blog_node5_net.py index bb70f29..e7f7503 100644 --- a/src/blog_node5_net.py +++ b/src/blog_node5_net.py @@ -62,7 +62,7 @@ logger.debug(f'site_files_path: {site_files_path}') pathlib.Path(articles_path).mkdir(parents=True, exist_ok=True) if pathlib.Path(articles_path).exists() and not any(pathlib.Path(articles_path).iterdir()): logger.info(f"Articles path {articles_path} is empty, cloning {articles_repo_url} into {articles_path}") - subprocess.run(f'bash -c \'git clone "{articles_repo_url}" "{articles_path}"\'', shell=True, check=True) + subprocess.run(f'/bin/sh -c \'git clone "{articles_repo_url}" "{articles_path}"\'', shell=True, check=True) article_generator = article.ArticleGenerator(articles_path) |
