From a06968c826e61b4b39f78f3c5b397401ed55baed Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 11 Sep 2007 17:15:58 +0000 Subject: [PATCH] Fixed debian package maker --- makemoduledeb.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makemoduledeb.pl b/makemoduledeb.pl index e83f458cf..cf396b628 100755 --- a/makemoduledeb.pl +++ b/makemoduledeb.pl @@ -165,7 +165,7 @@ system("find $usr_dir -name '*.rej' | xargs rm -rf"); system("find $usr_dir -name core | xargs rm -rf"); # Fix up Perl paths -system("(find $usr_dir -name '*.cgi' ; find $usr_dir -name '*.pl') | $par/perlpath.pl /usr/bin/perl -"); +system("(find $usr_dir -name '*.cgi' ; find $usr_dir -name '*.pl') | perl -ne 'chop; open(F,\$_); \@l=; close(F); \$l[0] = \"#\!/usr/bin/perl\$1\n\" if (\$l[0] =~ /#\!\\S*perl\\S*(.*)/); open(F,\">\$_\"); print F \@l; close(F)'"); system("(find $usr_dir -name '*.cgi' ; find $usr_dir -name '*.pl') | xargs chmod +x"); # Build list of dependencies on other Debian packages, for inclusion as a