From 96036bf8d4377d8a7e1f7d5587d7df2ed5f73d2b Mon Sep 17 00:00:00 2001 From: Martin Ebourne Date: Wed, 28 Dec 2005 14:04:35 +0000 Subject: Fix make distribution --- infrastructure/makedistribution.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'infrastructure/makedistribution.pl') diff --git a/infrastructure/makedistribution.pl b/infrastructure/makedistribution.pl index 712b068c..669f5de6 100755 --- a/infrastructure/makedistribution.pl +++ b/infrastructure/makedistribution.pl @@ -78,6 +78,10 @@ sub copy_from_list { replace_version_in($dst); } + elsif($src eq 'NO-LICENSE') + { + $no_license{$dst} = 1; + } elsif(-d $src) { $modules_included{$_} = 1; @@ -205,8 +209,8 @@ sub copy_file } } - # make sure perl scripts are marked as executable, and other things aren't - if($ext eq 'pl' || $ext eq '') + # copy executable bit from src + if(-x $fn) { system 'chmod','a+x',"$base_name/$dst_fn" } -- cgit v1.2.3