Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: OT: invoking shell script with relative path and absolute path

by bliako (Monsignor)
on Feb 10, 2020 at 16:38 UTC ( [id://11112734]=note: print w/replies, xml ) Need Help??


in reply to Re: OT: invoking shell script with relative path and absolute path
in thread OP: invoking shell script with relative path and absolute path

Just to make sure, did you insert the which compile.sh inside /home/vinoth/funtions.sh? Because path may be modified within function. Once you are there print the full path too (from within that function). If your path contains the dot early then ANY compile.sh script in script's current dir will be executed first. So within the function print PWD as well at the moment of attempted execution.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11112734]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found