[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

setup.rb copies .bat files to linux system

Trans

9/24/2006 1:12:00 AM

I created .bat files for windows, and I assume they should be in the
conventional bin/ directory. But setup.rb copies .bat files to my linux
system. Should setup.rb be made to aviod this, or is there already an
appropriate way to do this?

Thanks,
T.

1 Answer

Tim Hunter

9/24/2006 1:48:00 AM

0

Trans wrote:
> I created .bat files for windows, and I assume they should be in the
> conventional bin/ directory. But setup.rb copies .bat files to my linux
> system. Should setup.rb be made to aviod this, or is there already an
> appropriate way to do this?
>
> Thanks,
> T

I don't think there's any O/S-dependent code in setup.rb, and even if
there were I'm not sure it would be a good idea to have setup.rb use
file extensions to make installation decisions. You could add a
post-install hook to handle O/S-dependent aspects of your installation.