1 diff -Nur File-Rsync-0.42.ori/Makefile.PL File-Rsync-0.42.mod/Makefile.PL
2 --- File-Rsync-0.42.ori/Makefile.PL 2005-06-25 00:02:32.000000000 +0200
3 +++ File-Rsync-0.42.mod/Makefile.PL 2006-01-22 13:43:33.000000000 +0100
7 PREREQ_PM => { 'Scalar::Util' => 0 },
8 - PL_FILES => { 'makepm.PL' => 'config.pm' },
9 + PL_FILES => { 'makepm.PL' => 'Config.pm' },
10 PM => { 'Rsync.pm' => '$(INST_LIB)/File/Rsync.pm',
11 - 'config.pm' => '$(INST_ARCHLIB)/File/Rsync/Config.pm' },
12 + 'Config.pm' => '$(INST_LIB)/File/Rsync/Config.pm' },
13 dist => { COMPRESS => 'gzip', SUFFIX => 'gz' },
14 - realclean => { FILES => 'config.pm' },
15 + realclean => { FILES => 'Config.pm' },
18 diff -Nur File-Rsync-0.42.ori/makepm.PL File-Rsync-0.42.mod/makepm.PL
19 --- File-Rsync-0.42.ori/makepm.PL 2005-06-24 23:56:33.000000000 +0200
20 +++ File-Rsync-0.42.mod/makepm.PL 2006-01-22 13:42:09.000000000 +0100
22 (this is not recommended)).
25 -$RSYNC||='/usr/local/bin/rsync';
26 -print "Path to rsync [$RSYNC]: ";
29 -$RSYNC=$ans || $RSYNC;
32 +$RSYNC||='/usr/bin/rsync';
33 +#print "Path to rsync [$RSYNC]: ";
36 +#$RSYNC=$ans || $RSYNC;
37 +#$RSYNC=~s/\\/\\\\/g;
38 +#$RSYNC=~s/\'/\\\'/g;
39 open IN,'config.in' or die "Cannot read config.in: $!\n";
40 -open OUT,'>config.pm' or die "Cannot write config.pm: $!\n";
41 +open OUT,'>Config.pm' or die "Cannot write Config.pm: $!\n";
43 if (/^(\s*rsync_path\s*=>)/) { print OUT "$1 '$RSYNC',\n" }