Skip to content

Commit

Permalink
Change ln -s to ln -fs so that package target can be run more than once
Browse files Browse the repository at this point in the history
since it does not register its completion in the state file.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@1534 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard committed Jan 4, 2003
1 parent 7dd3e86 commit b7751a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/port1.0/portpackage.tcl
Expand Up @@ -167,9 +167,9 @@ proc package_pkg {portname portversion entry} {
write_description_plist ${pkgpath}/Contents/Resources/Description.plist $portname $portversion $description
system "cp ${portresourcepath}/package/background.tiff ${pkgpath}/Contents/Resources/background.tiff"
system "mkbom ${destpath} ${pkgpath}/Contents/Archive.bom"
system "cd ${pkgpath}/Contents/Resources/ && ln -s ../Archive.bom ${portname}.bom"
system "cd ${pkgpath}/Contents/Resources/ && ln -fs ../Archive.bom ${portname}.bom"
system "cd ${destpath} && pax -w -z . > ${pkgpath}/Contents/Archive.pax.gz"
system "cd ${pkgpath}/Contents/Resources/ && ln -s ../Archive.pax.gz ${portname}.pax.gz"
system "cd ${pkgpath}/Contents/Resources/ && ln -fs ../Archive.pax.gz ${portname}.pax.gz"

write_sizes_file ${pkgpath}/Contents/Resources/${portname}.sizes ${pkgpath} ${destpath}

Expand Down

0 comments on commit b7751a7

Please sign in to comment.