We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I had the following call to scp:
'scp $oldHost:/etc/asterisk/sip.d/* $tmpRoot/'.run;
The call failed as the '*' was being expanded locally and we ended up with a fully qualified path of the form:
`scp /home/me/www.microsoft.com.au:/etc/asterisk/sip.d/* /remote/path'.run.
I got around this problem by quote the local path:
'scp $oldHost:"/etc/asterisk/sip.d/*" $tmpRoot/'.run;
However this dones't feel right.
Maybe we need to reconigize the presense of the ':' or perhaps any other non-path character and then do the expansion.
Of course in this case any expansion of the '*' is wrong (as its meant to be a path on the remote system).
We need to have a look at how bash is handling this situation and provide an equivalent implementation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I had the following call to scp:
'scp $oldHost:/etc/asterisk/sip.d/* $tmpRoot/'.run;
The call failed as the '*' was being expanded locally and we ended up with a fully qualified path of the form:
`scp /home/me/www.microsoft.com.au:/etc/asterisk/sip.d/* /remote/path'.run.
I got around this problem by quote the local path:
'scp $oldHost:"/etc/asterisk/sip.d/*" $tmpRoot/'.run;
However this dones't feel right.
Maybe we need to reconigize the presense of the ':' or perhaps any other non-path character and then do the expansion.
Of course in this case any expansion of the '*' is wrong (as its meant to be a path on the remote system).
We need to have a look at how bash is handling this situation and provide an equivalent implementation.
The text was updated successfully, but these errors were encountered: