[MacPorts] #13859: Portfile for Scala contains "cd" command

MacPorts trac at macosforge.org
Mon Jan 7 04:46:40 PST 2008


#13859: Portfile for Scala contains "cd" command
------------------------------+---------------------------------------------
 Reporter:  ejeklint at mac.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.7.0                                
 Keywords:  scala cd          |  
------------------------------+---------------------------------------------
 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}"
         }
 +
  }

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13859>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list