Closed bragma closed 11 years ago
I'm not sure I have any idea what you're talking about. Can you reproduce with the latest code from master or should I close this? I don't see any mention of File.exists? in the source.rb source.
Ping
Closing due to lack of user response and this is a very old issue that may quite possible be solved in newer releases.
source.rb allows to specify a path to a source file to be downloaded (using wget), built and installed. There is a change in the source code that allows to specify a pre-existing file (i.e. on the destination server). In this case "cp" is used instead of "wget".
The problem is that file existance is checked locally (on the machine runing sprinkle using File.exists?) instead that on the remote server, and then a "cp" command is issued remotely. The cp command will normally fail because paths don't match.
I am not skilled enough to fix it myself. As a suggestion, allowing to transfer the file from the server running sprinkle (i.e. like using the transfer installer) would prove really useful.