Changeset 18961
- Timestamp:
- 06/18/06 21:27:41 (2 years ago)
- Files:
-
- juggler/trunk/release/scripts/InstallOps.pm (modified) (1 diff)
- juggler/trunk/release/scripts/install-dir.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/release/scripts/InstallOps.pm
r18824 r18961 249 249 else 250 250 { 251 my @stats = (stat("$src_file"))[8,9]; 251 252 copy("$src_file", "$inst_dir") or warn "copy: $!\n"; 253 utime(@stats, "$inst_dir/$src_file"); 252 254 } 253 255 juggler/trunk/release/scripts/install-dir.pl
r18960 r18961 170 170 171 171 # Make a working copy of the input file to be safe. 172 my @stats = (stat("$curfile"))[8,9]; 172 173 copy("$curfile", "$workfile") unless "$curfile" eq "$workfile"; 173 174 … … 185 186 or warn "WARNING: Could not delete $workfile: $!"; 186 187 } 188 189 # Apply the saved attributes of $curfile to $filename. 190 utime(@stats, "$filename"); 187 191 188 192 installFile("$filename", $uid, $gid, "$mode", "$dest_dir",
