diff options
author | Martin Ebourne <martin@ebourne.me.uk> | 2005-12-28 14:04:35 +0000 |
---|---|---|
committer | Martin Ebourne <martin@ebourne.me.uk> | 2005-12-28 14:04:35 +0000 |
commit | 96036bf8d4377d8a7e1f7d5587d7df2ed5f73d2b (patch) | |
tree | 77cbf62c031838f4204d6ee7e956040e675e837c /infrastructure | |
parent | 63c7a6dba860c8c83bde62eee0ac7088cebd3885 (diff) |
Fix make distribution
Diffstat (limited to 'infrastructure')
-rwxr-xr-x | infrastructure/makedistribution.pl | 8 |
1 files changed, 6 insertions, 2 deletions
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" } |