[108895] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
jeremyhu at macports.org
jeremyhu at macports.org
Sun Aug 4 09:00:49 PDT 2013
Revision: 108895
https://trac.macports.org/changeset/108895
Author: jeremyhu at macports.org
Date: 2013-08-04 09:00:49 -0700 (Sun, 04 Aug 2013)
Log Message:
-----------
muniversal: Include hidden files in destroot
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl 2013-08-04 15:59:03 UTC (rev 108894)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl 2013-08-04 16:00:49 UTC (rev 108895)
@@ -466,14 +466,20 @@
xinstall -d -m 0755 ${dir}
- foreach fl [glob -directory ${dir2} -tails -nocomplain *] {
+ foreach fl [glob -directory ${dir2} -tails -nocomplain * .*] {
+ if { ${fl} == "." || ${fl} == ".." } {
+ continue
+ }
if { ![muniversal_file_or_symlink_exists ${dir1}/${fl}] } {
# File only exists in ${dir1}
ui_debug "universal: merge: ${prefixDir}/${fl} only exists in ${base2}"
copy ${dir2}/${fl} ${dir}
}
}
- foreach fl [glob -directory ${dir1} -tails -nocomplain *] {
+ foreach fl [glob -directory ${dir1} -tails -nocomplain * .*] {
+ if { ${fl} == "." || ${fl} == ".." } {
+ continue
+ }
if { ![muniversal_file_or_symlink_exists ${dir2}/${fl}] } {
# File only exists in ${dir2}
ui_debug "universal: merge: ${prefixDir}/${fl} only exists in ${base1}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130804/d1907532/attachment.html>
More information about the macports-changes
mailing list