On Fri, 27 Jun 2008 17:48:24 +0200, Gert Driesen wrote: > David,
Hello Gert,
> Can I ask why you need the path to the mono shellscript?
Because I'm installing a wrapper for my assembly (/usr/lib/foo/foo.exe)
in /usr/bin/foo.
This is the wrapper:
$ cat gnome-rdp.in
#!/bin/sh
exec @MONO@ @libdir@/gnome-rdp/gnome-rdp.exe $MONO_EXTRA_ARGS "$@"
And, in my buildfile:
<copy file="gnome-rdp.in" tofile="${outdir}/gnome-rdp">
<filterchain>
<replacetokens>
<!-- only in NAnt >=0.86-beta1 -->
<!--token key="MONO" value="${framework::get-tool-path('mono')}" /-->
<token key="MONO" value="/usr/bin/mono" />
</replacetokens>
</filterchain>
</copy>
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ NAnt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
