Changeset 2476 for box/trunk/infrastructure
- Timestamp:
- 28/03/2009 14:04:47 (3 years ago)
- File:
-
- 1 edited
-
box/trunk/infrastructure/makedistribution.pl.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/infrastructure/makedistribution.pl.in
r2470 r2476 116 116 { 117 117 $no_license{$dst} = 1; 118 119 # actually copy it, to remove redundancy in manifests 120 $src = $dst; 121 $dst = $other; 122 $dst = $src if $dst eq ''; 123 124 copy_file($src,$dst); 118 125 } 119 126 elsif($src eq 'RUN') … … 253 260 # copy as binary 254 261 # print "binary copy $fn to $base_name/$dst_fn\n"; 255 system 'cp',$fn,"$base_name/$dst_fn" 262 my $cmd = "cp -p $fn $base_name/$dst_fn"; 263 system($cmd) == 0 or die "copy failed: $cmd"; 256 264 } 257 265
Note: See TracChangeset
for help on using the changeset viewer.
