Changeset 1534


Ignore:
Timestamp:
Jan 4, 2003, 1:45:40 AM (18 years ago)
Author:
jkh
Message:

Change ln -s to ln -fs so that package target can be run more than once
since it does not register its completion in the state file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portpackage.tcl

    r1531 r1534  
    168168        system "cp ${portresourcepath}/package/background.tiff ${pkgpath}/Contents/Resources/background.tiff"
    169169        system "mkbom ${destpath} ${pkgpath}/Contents/Archive.bom"
    170         system "cd ${pkgpath}/Contents/Resources/ && ln -s ../Archive.bom ${portname}.bom"
     170        system "cd ${pkgpath}/Contents/Resources/ && ln -fs ../Archive.bom ${portname}.bom"
    171171        system "cd ${destpath} && pax -w -z . > ${pkgpath}/Contents/Archive.pax.gz"
    172         system "cd ${pkgpath}/Contents/Resources/ && ln -s ../Archive.pax.gz ${portname}.pax.gz"
     172        system "cd ${pkgpath}/Contents/Resources/ && ln -fs ../Archive.pax.gz ${portname}.pax.gz"
    173173
    174174        write_sizes_file ${pkgpath}/Contents/Resources/${portname}.sizes ${pkgpath} ${destpath}
Note: See TracChangeset for help on using the changeset viewer.