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:
parent
1050bb09de
commit
530ca1d6cc
3 changed files with 2 additions and 5 deletions
|
@ -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" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue