setup.rb copies .bat files to linux system

Discussion in 'Ruby' started by Trans, Sep 24, 2006.

  1. Trans

    Trans Guest

    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.
     
    Trans, Sep 24, 2006
    #1
    1. Advertisements

  2. 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.
     
    Timothy Hunter, Sep 24, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?ZGFubEBkcmF3bmV0X25vX3NwYW0uY29t?=

    .bat from asp.net w/System.Diagnostics.Process?

    =?Utf-8?B?ZGFubEBkcmF3bmV0X25vX3NwYW0uY29t?=, Apr 10, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    3,746
    Alvin Bruney [MVP]
    Apr 12, 2004
  2. Replies:
    0
    Views:
    525
  3. Joseph Millar

    Re: executable .bat files

    Joseph Millar, Aug 7, 2003, in forum: Java
    Replies:
    0
    Views:
    396
    Joseph Millar
    Aug 7, 2003
  4. Ted
    Replies:
    0
    Views:
    121
  5. Replies:
    1
    Views:
    182
    Nicholas Fitzkee
    May 31, 2012
Loading...

Share This Page