Ignore:
Timestamp:
Mar 12, 2013, 8:14:21 PM (6 years ago)
Author:
larryv@…
Message:

ruby-1.0: Use "file mkdir" and "system -W" instead of "mkdir -p" and "cd".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/ruby-1.0.tcl

    r103995 r104006  
    230230    post-extract {
    231231        # Create the work directory for gem-based ruby ports.
    232         system "mkdir -p ${worksrcpath}"
     232        file mkdir ${worksrcpath}
    233233        system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    234234    }
     
    387387
    388388            destroot {
    389                 system "cd ${worksrcpath} && ${ruby.gem} install --local --force --install-dir ${destroot}${ruby.gemdir} ${distpath}/${distname}"
     389                system -W ${worksrcpath} "${ruby.gem} install --local --force --install-dir ${destroot}${ruby.gemdir} ${distpath}/${distname}"
    390390
    391391                set binDir ${destroot}${ruby.gemdir}/bin
Note: See TracChangeset for help on using the changeset viewer.