1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

Fix ynh_exec_warn_less not being happy with FOO=bar

This commit is contained in:
Alexandre Aubin 2021-11-12 20:56:32 +01:00 committed by GitHub
parent 90fa1c377a
commit 8b2fc6518e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
pushd $final_path
ynh_use_nodejs
ynh_exec_warn_less NODE_ENV=production yarn install
export NODE_ENV=production
ynh_exec_warn_less yarn install
yarn add webpack webpack-dev-server --dev
ynh_exec_warn_less NODE_ENV=production yarn build
popd