Skip to content
Permalink
Browse files

Change ln -s to ln -fs to cope with existing install.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1553 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard
Jordan K. Hubbard committed Jan 4, 2003
1 parent b2a3c76 commit 0a3dfbe710f65819f049e4930eb01d2a4a5b9ad7
Showing with 2 additions and 2 deletions.
  1. +1 −1 devel/apache-ant/Portfile
  2. +1 −1 devel/jakarta-ant/Portfile
@@ -36,6 +36,6 @@ install {
system "cd ${worksrcpath}; cp -R ${name} ${prefix}/java"
system "rm ${prefix}/java/${name}/bin/*.bat"
system "chmod -R ugo+r ${prefix}/java/${name}"
system "ln -s ${prefix}/java/${name}/bin/ant ${prefix}/bin/"
system "ln -fs ${prefix}/java/${name}/bin/ant ${prefix}/bin/"
}

@@ -36,6 +36,6 @@ install {
system "cd ${worksrcpath}; cp -R ${name} ${prefix}/java"
system "rm ${prefix}/java/${name}/bin/*.bat"
system "chmod -R ugo+r ${prefix}/java/${name}"
system "ln -s ${prefix}/java/${name}/bin/ant ${prefix}/bin/"
system "ln -fs ${prefix}/java/${name}/bin/ant ${prefix}/bin/"
}

0 comments on commit 0a3dfbe

Please sign in to comment.
You can’t perform that action at this time.