From f5dc382888f4dc0bcc9430c6b95409aeebf697cf Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 3 Jun 2024 13:10:01 +0200 Subject: [PATCH] apps: for YNH_HELPERS_VERSION to be a string for the bash env, otherwise Popen explodes --- src/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.py b/src/app.py index 020bdc8b8..270ee92d0 100644 --- a/src/app.py +++ b/src/app.py @@ -2968,8 +2968,8 @@ def _make_environment_for_app_script( "YNH_APP_INSTANCE_NUMBER": str(app_instance_nb), "YNH_APP_MANIFEST_VERSION": manifest.get("version", "?"), "YNH_APP_PACKAGING_FORMAT": str(manifest["packaging_format"]), - "YNH_HELPERS_VERSION": manifest.get("integration", {}).get("helpers_version") - or manifest["packaging_format"], + "YNH_HELPERS_VERSION": str(manifest.get("integration", {}).get("helpers_version") + or manifest["packaging_format"]), "YNH_ARCH": system_arch(), "YNH_DEBIAN_VERSION": debian_version(), }