Just one think is not clear to me again.
I used a Build.PL file like this:
In this file I have to add the statement:use strict; use warnings; use Module::Build; my $builder = Module::Build->new( module_name => 'Jump', license => 'perl', dist_author => q{Enzo Arlati <enzo.arlati@libero.it>}, dist_version_from => 'lib/Jump.pm', build_requires => { 'Test::More' => 0, }, sh_files => { 'sh/jump.sh' => 'sh/jump.sh' }, add_to_cleanup => [ 'Jump-*' ], create_makefile_pl => 'traditional', ); $builder->install_path( 'sh' => '/etc/profile.d/' ); $builder->add_build_element( 'sh' ); $builder->create_build_script();
also if the source and destination of the sh files are the same.sh_files => { 'sh/jump.sh' => 'sh/jump.sh' },
If I comment this line the jump.sh file are not processed.
Is this correct and there are a more polite way to tell the program to include the file *.sh ?
Regards, Enzo
In reply to Re^2: Add bash file to a dist package
by earlati
in thread Add bash file to a dist package
by earlati
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |