On Wed, Feb 25, 2009 at 8:27 PM, Mark Colburn <colburn.m...@gmail.com> wrote: > > #!/bin/sh > DP="${0%/*}" > java -cp ~/src/clojure/clojure.jar:${DP}/clj:${DP}/java - > Dnet.sourceforge.waterfront.plugins=${DP}/clj/net/sourceforge/ > waterfront/ide/plugins clojure.main ${DP}/clj/net/sourceforge/ > waterfront/ide/main.clj $*
You almost always want to use "$@" (including quotes) instead of $*. See this thread for why: http://groups.google.com/group/clojure/browse_thread/thread/769e5bf19e6636ea/a1b2a836ca229384?lnk=gst#a1b2a836ca229384 You'll also run into trouble if ${DP} contains spaces, unless you quote those arguments too: #!/bin/sh DP="${0%/*}" java -cp "~/src/clojure/clojure.jar:${DP}/clj:${DP}/java" -Dnet.sourceforge.waterfront.plugins="${DP}/clj/net/sourceforge/waterfront/ide/plugins" clojure.main "${DP}/clj/net/sourceforge/waterfront/ide/main.clj" "$@" -- Michael Wood <esiot...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---