Skip to content

Commit

Permalink
Fix composer.bat, change %* to %%*
Browse files Browse the repository at this point in the history
  • Loading branch information
lnfel committed Oct 21, 2021
1 parent 1fda9af commit 31e902d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.bat
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ echo Installing composer
%php_exe% composer-setup.php --install-dir=%laragon_bin%composer
%php_exe% -r "unlink('composer-setup.php');"
:: https://stackoverflow.com/questions/47497240/how-to-write-dp0-into-a-batch-file-created-by-a-batch-file
echo @php "%%~dp0composer.phar" %* > C:\laragon\bin\composer\composer.bat
echo @php "%%~dp0composer.phar" global require laravel/installer %* > C:\laragon\bin\composer\laravel_install.bat
echo @php "%%~dp0composer.phar" %%* > C:\laragon\bin\composer\composer.bat
echo @php "%%~dp0composer.phar" global require laravel/installer > C:\laragon\bin\composer\laravel_install.bat
echo Installed composer

:: Install Laravel globally
Expand Down

0 comments on commit 31e902d

Please sign in to comment.