summaryrefslogtreecommitdiff
path: root/infrastructure/makedistribution.pl
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2005-12-28 14:04:35 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2005-12-28 14:04:35 +0000
commit96036bf8d4377d8a7e1f7d5587d7df2ed5f73d2b (patch)
tree77cbf62c031838f4204d6ee7e956040e675e837c /infrastructure/makedistribution.pl
parent63c7a6dba860c8c83bde62eee0ac7088cebd3885 (diff)
Fix make distribution
Diffstat (limited to 'infrastructure/makedistribution.pl')
-rwxr-xr-xinfrastructure/makedistribution.pl8
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"
}