Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source required to be relative #1

Closed
captainhook opened this issue Dec 15, 2019 · 1 comment
Closed

Source required to be relative #1

captainhook opened this issue Dec 15, 2019 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@captainhook
Copy link
Owner

captainhook commented Dec 15, 2019

The source dir should be absolute, like the target dir.
Currently the source dir is required to be relative, e.g.

./copy.sh "folder1" "/var/www/vhosts/site1.com"

Making the source dir absolute results in copying of entire structure, e.g.
./copy.sh "/home/admin/folder1" "/var/www/vhosts/site1.com"
results in:
installing into /var/www/vhosts/site1.com//home/admin/folder1

@captainhook captainhook added bug Something isn't working help wanted Extra attention is needed labels Dec 15, 2019
captainhook pushed a commit that referenced this issue Jan 1, 2020
v2
Version: 2.0
Changelog: 
+ batch processing (#2)
+ accept absolute path for source directory (#1)
+ overall improvement of output and processing

Special thanks to Sebastian (stashet47)
@captainhook captainhook self-assigned this Jan 1, 2020
@captainhook
Copy link
Owner Author

Resolved in 3f83cdf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant