Portfile for Scala contains "cd" command
— at Version 4
Reported by: |
ejeklint@… |
Owned by: |
blair@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.6.0
|
Keywords:
|
scala cd
|
Cc:
|
|
Port:
|
|
|
|
There is a cd in the portfile for scala so it won't run properly. This patch fixes it (attached too):
-
old
|
new
|
|
58 | 58 | file rename ${scaladir}/share/scala/src ${sharedir}/scala/src |
59 | 59 | |
60 | 60 | xinstall -d -m 755 ${sharedir}/java |
61 | | cd ${sharedir}/java |
| 61 | |
62 | 62 | foreach f {sbaz-tests.jar sbaz.jar scala-actors.jar scala-compiler.jar scala-dbc.jar scala-decoder.jar scala-library.jar} { |
63 | | system "ln -s ../scala/share/scala/lib/${f}" |
| 63 | system "ln -s ${sharedir}/scala/share/scala/lib/${f} ${sharedir}/java/${f}" |
64 | 64 | } |
| 65 | |
65 | 66 | } |
Change History (5)
Owner: |
changed from macports-tickets@… to blair@…
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Description: |
modified (diff)
|
Milestone: |
→ Port Bugs
|
Patch that removes the yucky cd command