[119616] trunk/base/src/registry2.0/portimage.tcl

snc at macports.org snc at macports.org
Fri May 2 07:22:26 PDT 2014


Revision: 119616
          https://trac.macports.org/changeset/119616
Author:   snc at macports.org
Date:     2014-05-02 07:22:26 -0700 (Fri, 02 May 2014)
Log Message:
-----------
base: remove braces from ::file attributes

Modified Paths:
--------------
    trunk/base/src/registry2.0/portimage.tcl

Modified: trunk/base/src/registry2.0/portimage.tcl
===================================================================
--- trunk/base/src/registry2.0/portimage.tcl	2014-05-02 14:18:04 UTC (rev 119615)
+++ trunk/base/src/registry2.0/portimage.tcl	2014-05-02 14:22:26 UTC (rev 119616)
@@ -268,10 +268,10 @@
                 ::file mkdir $dstfile
                 # fix attributes on the directory.
                 if {[getuid] == 0} {
-                    ::file attributes {$dstfile} {*}[::file attributes $srcfile]
+                    ::file attributes $dstfile {*}[::file attributes $srcfile]
                 } else {
                     # not root, so can't set owner/group
-                    ::file attributes {$dstfile} -permissions {*}[::file attributes $srcfile -permissions]
+                    ::file attributes $dstfile -permissions {*}[::file attributes $srcfile -permissions]
                 }
                 # set mtime on installed element
                 ::file mtime $dstfile [::file mtime $srcfile]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140502/6789550f/attachment.html>


More information about the macports-changes mailing list