mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-25 06:54:08 +07:00
Remove unnecessary dist parameter
This commit is contained in:
@ -82,7 +82,7 @@ Function Add-Extension {
|
||||
|
||||
# Function to get a map of extensions and their dependent shared extensions.
|
||||
Function Get-ExtensionMap {
|
||||
php -d'error_reporting=0' $dist\..\src\scripts\extensions\extension_map.php $env:TEMP\map$version.orig
|
||||
php -d'error_reporting=0' $src\scripts\extensions\extension_map.php $env:TEMP\map$version.orig
|
||||
}
|
||||
|
||||
# Function to enable extension dependencies which are also extensions.
|
||||
|
@ -49,7 +49,7 @@ enable_extension() {
|
||||
|
||||
# Function to get a map of extensions and their dependent shared extensions.
|
||||
get_extension_map() {
|
||||
php -d'error_reporting=0' "${dist:?}"/../src/scripts/extensions/extension_map.php /tmp/map"$version".orig
|
||||
php -d'error_reporting=0' "${src:?}"/scripts/extensions/extension_map.php /tmp/map"$version".orig
|
||||
}
|
||||
|
||||
# Function to enable extension dependencies which are also extensions.
|
||||
|
Reference in New Issue
Block a user