Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Modifying %ENV From The Shebang Line

by halley (Prior)
on Dec 18, 2007 at 14:11 UTC ( #657678=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Modifying %ENV From The Shebang Line
in thread Modifying %ENV From The Shebang Line

One environment-fixing wrapper, as shown, but taking an argument that specifies which perl hook script to be run.

#!/bin/bash export LD_LIBRARY_PATH=... export HOOKS_PATH=/path/to/svn/hooks [ -f $HOOKS_PATH/$1 ] && perl $HOOKS_PATH/$1

--
[ e d @ h a l l e y . c c ]


Comment on Re^3: Modifying %ENV From The Shebang Line
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-07-30 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (234 votes), past polls