systools and scripts

Mikael Karlsson <>
Thu May 6 07:27:16 CEST 2004


Starting with erl -s or erl -run makes it possible to pass
arguments as atoms or lists. So in your case I guess you
would have to write some "glue" module that takes only
atoms (or strings) and pass them on to the make_script
with right types:

erl -pa `pwd` -s mygluemodule make_script  environ local  -s erlang halt

Or is there a better way?

/Mikael

torsdag 06 maj 2004 07:40 skrev Dustin Sallings:
> I'm trying to use a makefile to build my application, but I can't
> figure out how to run systools from the erl commandline.  I want to run
> the following command:
>
> 	systools:make_script("environ", [local]).
>
> 	...but I can't seem to express that.
>
>
> 	I've just added another module to my build system that creates the
> .boot and the .tar.gz, but is this necessary?
>
> --
> SPY                      My girlfriend asked me which one I like better.
> pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <>
>
> |    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE
>
> L_______________________ I hope the answer won't upset her. ____________



More information about the erlang-questions mailing list