| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| sharte |
Posted: May 17 2005, 02:56 PM
|
|
Newbie ![]() Group: Members Posts: 3 Member No.: 797 Joined: 7-February 05 |
I can access a script on a remote machine fine using ssh:
$ssh shb@mach2 . ./testScript.sh The problem is it can't access any other scripts which are called from the script (testScript.sh) originally accessed on the remote machine using ssh. example: extract from "testScript.sh": #!/bin/ksh if [ "x$DMA_HOME" = "x" ]; then . configs/vars.sh The ERROR I get: ksh: configs/vars.sh: not found Make any sense? Any help would be much appreciated. Regards, Sean |
| andyb1ack |
Posted: May 20 2005, 09:46 AM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 98 Member No.: 513 Joined: 9-September 04 |
Where does configs/vars.sh reside?
Try putting the full path to this script in testScript.sh, or setting the PATH at the start of testScript.sh |
![]() |
![]() ![]() ![]() |