Opened 17 years ago
Last modified 16 years ago
#13859 closed defect
Portfile for Scala contains "cd" command — at Initial Version
Reported by: | ejeklint@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | scala cd | Cc: | |
Port: |
Description
There is a cd in the portfile for scala so it won't run properly. This patch fixes it (attached too):
--- Portfile.original 2008-01-07 12:49:53.000000000 +0100 +++ Portfile 2008-01-07 13:03:44.000000000 +0100 @@ -58,8 +58,9 @@
file rename ${scaladir}/share/scala/src ${sharedir}/scala/src
xinstall -d -m 755 ${sharedir}/java
- cd ${sharedir}/java
+
foreach f {sbaz-tests.jar sbaz.jar scala-actors.jar scala-compiler.jar scala-dbc.jar scala-decoder.jar scala-library.jar} {
- system "ln -s ../scala/share/scala/lib/${f}"
+ system "ln -s ${sharedir}/scala/share/scala/lib/${f} ${sharedir}/java/${f}"
}
+
}
Note: See
TracTickets for help on using
tickets.
Patch that removes the yucky cd command