From 09ddd088aa2f73f381bb3a447731bce159241bb7 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Wed, 13 Dec 2023 16:39:53 +0100 Subject: [PATCH] Update scripts/install: fix env syntax --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 6fbbcc3..f441599 100755 --- a/scripts/install +++ b/scripts/install @@ -53,8 +53,8 @@ pushd $install_dir ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm ci --quiet --production --prefer-offline --network-timeout=100000 ynh_script_progression --message="npm run build... This can be very long, be patient !" --weight=25 - export SOURCE_VERSION="$(cat $YNH_APP_BASEDIR/manifest.toml | toml_to_json | jq -r ".resources.sources.main.url" | awk -F/ '{ print $NF }')" - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $SOURCE_VERSION $ynh_npm run build + SOURCE_VERSION="$(cat $YNH_APP_BASEDIR/manifest.toml | toml_to_json | jq -r ".resources.sources.main.url" | awk -F/ '{ print $NF }')" + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH SOURCE_VERSION="$SOURCE_VERSION" $ynh_npm run build popd chmod 750 "$install_dir"