Hello... I'm creating a Perl wrapper that grabs code from any number of versions and allows the user to select an environment of which to compile their code on. The script makes modifications to the source, tar's, and ftp's it over to the compile environment. Now in RSHells hands now, I'm untaring, and attempting compile the code remotely via RSH. Once it compiles I have hopes to Tar and pull back the binaries to the original machine and then remove the remote source code.
make -f makefile.cfg sol make make install
The RSH fails because it isn't loading up .profile and whatever else to a standard user login level. I have tried performing these commands in an inline RSH command as well as putting them in a .sh file on the remote system and executing it via the RSH. I've even tried executing .profile in the .sh and running the make commands like this ". make -f makefile.cfg sol". After a successful compile, I want to grab the source and pull it back to the original box. Problem is getting the source to compile via an RSH command. Surely this can be done, how? I'm hoping someone can give me some input. Thank you ahead of time for your 2 cents. -Brent

In reply to RSH calling a shell script .profile issue by brentmaier

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.