Permalink
Browse files

Merge https://github.com/konradkaplita/epcap into konradkaplita/ez-ar…

…chive
  • Loading branch information...
2 parents f68a51b + 3ae4b8f commit a08a6b6e2afef4f864f19e34d2b068b96a025256 @msantos committed Apr 11, 2012
Showing with 2 additions and 12 deletions.
  1. +2 −12 src/epcap.erl
View
@@ -146,17 +146,7 @@ get_switch({verbose, Arg}) -> string:copies("-v ", Arg);
get_switch({filter, Arg}) -> "\"" ++ Arg ++ "\"".
progname() ->
- filename:join([
- filename:dirname(code:which(?MODULE)),
- "..",
- "priv",
- ?MODULE
- ]).
+ filename:join([code:lib_dir(epcap,priv),?MODULE]).
chroot_path() ->
- filename:join([
- filename:dirname(code:which(?MODULE)),
- "..",
- "priv",
- "tmp"
- ]).
+ filename:join([code:lib_dir(epcap,priv),"tmp"]).

0 comments on commit a08a6b6

Please sign in to comment.