Browse files

I think this fixes a path issue in the script

  • Loading branch information...
1 parent ede6f72 commit 16a8a24b8f9e570184a3c57f0f61a2e769094b36 @tom tom committed Apr 22, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/eplot
View
3 bin/eplot
@@ -17,8 +17,7 @@ usage() ->
main([]) -> usage();
main(Args) ->
- code:add_patha("/home/egil/coding/projects/eps/percept/ebin"),
- code:add_patha("/home/otp/eplot/ebin"),
+ code:add_patha(filename:join(filename:dirname(escript:script_name()), "../ebin")),
Options = parse_args(Args),
Input = proplists:get_value(input, Options, []),
case proplists:get_value(o, Options) of

0 comments on commit 16a8a24

Please sign in to comment.