[45614] trunk/base/src/port1.0/portdestroot.tcl

Rainer Müller raimue at macports.org
Sun Jan 18 17:27:16 PST 2009


Ryan Schmidt wrote:
>> @@ -101,6 +102,8 @@
>>      file mkdir "${destroot}"
>>      if { ${os.platform} == "darwin" } {
>>          system "cd \"${destroot}\" && ${mtree} -e -U -f [file join  
>> ${portsharepath} install macosx.mtree]"
>> +        file mkdir "${destroot}/${applications_dir}"
>> +        file mkdir "${destroot}/${frameworks_dir}"
>>      }
>>      file mkdir "${destroot}/${prefix}"
>>      system "cd \"${destroot}/${prefix}\" && ${mtree} -e -U -f  
>> [file join ${portsharepath} install prefix.mtree]"
> 
> They don't need slashes between them, though, do they?

I was not sure if it would be okay to leave the slashes out, but as
there is a slash between ${destroot} and ${prefix} a few lines below I
added them.

Probably we could leave it out in all cases, as we always expect
${applications_dir}, ${frameworks_dir} and ${prefix} to be absolute
paths starting with a slash, right?

Rainer


More information about the macports-dev mailing list