0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

build-support/php: fix typo

This commit is contained in:
Pol Dellaiera 2024-09-23 11:41:15 +02:00
parent 07e6929c81
commit 95f5cf75d3
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA
7 changed files with 15 additions and 15 deletions

View file

@ -2,7 +2,7 @@ declare version
declare composerStrictValidation
declare composerGlobal
setComposeRootVersion() {
setComposerRootVersion() {
set +e # Disable exit on error
if [[ -v version ]]; then
@ -13,7 +13,7 @@ setComposeRootVersion() {
set -e
}
setComposeEnvVariables() {
setComposerEnvVariables() {
echo -e "\e[32mSetting some required environment variables for Composer...\e[0m"
export COMPOSER_MIRROR_PATH_REPOS=1
export COMPOSER_CACHE_DIR=/dev/null
@ -21,7 +21,7 @@ setComposeEnvVariables() {
}
checkComposerValidate() {
setComposeRootVersion
setComposerRootVersion
if [ "1" == "${composerGlobal-}" ]; then
global="global";