2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-05-15 12:27:31 +00:00

fix: build environments with spaces can now be used (#816)

Small little fix that allows build environments with spaces. My space was giving errors of `bash: line 1: cd: too many arguments`
This commit is contained in:
Asher Edwards
2026-05-09 22:23:27 -06:00
committed by GitHub
parent aeab749cda
commit 39b7b3ea09
+1 -1
View File
@@ -29,7 +29,7 @@ def translate(c):
l10_dir = os.path.abspath(l10_dir) l10_dir = os.path.abspath(l10_dir)
python = "python3" if sys.platform.lower() == "darwin" else "python" python = "python3" if sys.platform.lower() == "darwin" else "python"
c.run(f"cd {l10_dir} && {python} collect_translations.py") c.run(f"cd '{l10_dir}' && {python} collect_translations.py")
@task(pre=[clean, update, translate]) @task(pre=[clean, update, translate])