1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

Prevent exports in scirpts

This commit is contained in:
Salamandar 2024-03-18 15:06:56 +01:00
parent 1050bb09de
commit 530ca1d6cc
3 changed files with 2 additions and 5 deletions

View file

@ -12,7 +12,8 @@ YNH_COMPOSER_VERSION="1.10.17"
_ynh_exec_with_drush_php() {
ynh_exec_warn_less ynh_exec_as "$app" \
env PATH="$PATH" DRUSH_PHP="/usr/bin/php$phpversion" \
env PATH="$install_dir/.composer/vendor/bin:$PATH" \
DRUSH_PHP="/usr/bin/php$phpversion" \
"$@"
}

View file

@ -57,8 +57,6 @@ ynh_add_config --template="composer.json" --destination="$install_dir/.composer/
ynh_install_composer --phpversion="$phpversion" --workdir="$install_dir/.composer"
export PATH="$install_dir/.composer/vendor/bin:$PATH"
#=================================================
# ADD A CONFIGURATION
#=================================================

View file

@ -33,8 +33,6 @@ ynh_script_progression --message="Upgrading Composer..." --weight=3
ynh_install_composer --phpversion="$phpversion" --workdir="$install_dir/.composer"
export PATH="$install_dir/.composer/vendor/bin:$PATH"
#=================================================
# UPGRADE DRUPAL
#=================================================