Ignore:
Timestamp:
Dec 31, 2008, 3:49:52 AM (11 years ago)
Author:
ricci@…
Message:

remove cd command usage, resolves #17831 (basically used change in said ticket)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/metasploit3/Portfile

    r32352 r44588  
    5959                                file copy ${file} ${destroot}/${prefix}/${metasploitTargetDir}
    6060                        }
    61                         cd ${destroot}/${prefix}/sbin
    6261                        foreach file [glob -directory ${destroot}/${prefix}/${metasploitTargetDir} msf*]  {
    6362                                set useFile [file tail ${file}]
     
    6564##                              file link -symbolic ${useFile} ../${metasploitTargetDir}/${useFile}
    6665## so use 'system "ln -s ..."' instead.
    67                                 system "ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
     66                                system "cd ${destroot}/${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
    6867                        }
    6968                 }
Note: See TracChangeset for help on using the changeset viewer.