Ticket #36560: hfscompression.diff
File hfscompression.diff, 665 bytes (added by mfeiri, 12 years ago) |
---|
-
base/src/registry2.0/portimage.tcl
280 280 } 281 281 default { 282 282 ui_debug "activating file: $dstfile" 283 ::file rename $srcfile $dstfile 283 if {${macports::os_platform} == "darwin" && ${macports::os_major} >= 10 && [::file type $srcfile] != "link"} { 284 system "ditto --hfsCompression '${srcfile}' '${dstfile}'" 285 ::file delete -- $srcfile 286 } else { 287 ::file rename $srcfile $dstfile 288 } 284 289 return 1 285 290 } 286 291 }