1
Remove the dependency on the module File::Basename.
3
This provides the ability to run the scripts using a local modules
4
directory. While that ability is very handy with the source distribution
5
and in testing environments, it is useless on a Debian package.
7
It is removed in a (currently still failed) attempt to remove the
8
dependency on perl and depend on perl-base alone.
13
# modify it under the same terms as Perl itself.
17
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
19
use CGI::Pretty qw/:standard start_ul start_li start_div start_pre/;
21
--- a/xpp/dahdi_drivers
22
+++ b/xpp/dahdi_drivers
27
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
31
--- a/xpp/dahdi_genconf
32
+++ b/xpp/dahdi_genconf
34
# $Id: dahdi_genconf 5440 2008-12-05 00:24:09Z tzafrir $
38
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
42
--- a/xpp/dahdi_hardware
43
+++ b/xpp/dahdi_hardware
45
# $Id: dahdi_hardware 4484 2008-06-29 16:57:48Z tzafrir $
50
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
54
--- a/xpp/dahdi_registration
55
+++ b/xpp/dahdi_registration
57
# $Id: dahdi_registration 4533 2008-07-03 08:22:02Z tzafrir $
61
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
68
# $Id: lsdahdi 4764 2008-08-12 10:21:53Z tzafrir $
72
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
79
# $Id: xpp_blink 4416 2008-06-19 17:34:36Z tzafrir $
83
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
90
# $Id: xpp_sync 4484 2008-06-29 16:57:48Z tzafrir $
94
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }