deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.41k stars 1.47k forks source link

contrib/rsync set('rsync_src', __DIR__); returns phar:///.../contrib/ #3801

Open Schrank opened 2 months ago

Schrank commented 2 months ago

Using rsync.php with default parameter and deployer.phar returns unexpected result for DIR - because the php file is inside a phar :-)

Upvote & Fund

Fund with Polar

antonmedv commented 2 months ago

Is it possible to override DIR?

Schrank commented 2 months ago

It is. Technical all fine. IMHO a minor DX issue.