Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Add bash file to a dist package

by lima1 (Curate)
on Aug 17, 2010 at 14:45 UTC ( #855503=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Add bash file to a dist package
in thread Add bash file to a dist package

According Module::Build::Cookbook, if you specify

$builder->add_build_element( 'sh' );
this will find all *.sh files in the lib directory of your distribution. In your case, the bash script is in a non-standard directory, so you have to tell Module::Build where it is:
sh_files => { 'sh/jump.sh' => 'sh/jump.sh' },
And here the files are not the same. The destination is 'blib/sh/jump.sh'.


Comment on Re^3: Add bash file to a dist package
Select or Download Code
Re^4: Add bash file to a dist package
by earlati (Novice) on Aug 17, 2010 at 22:09 UTC
    tanks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-07-06 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls