Permalink
Browse files

Fixed a bug in AGNER_PACKAGE_REPO implementation: by default, it reso…

…lves to "." but shoudld be immediately converted to an absolute path to be usable.
  • Loading branch information...
1 parent 3aa55a8 commit 274e29dbf2c637cb915e4ec57a76d633cb1dc231 @yrashk yrashk committed Feb 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/agner_main.erl
View
@@ -326,7 +326,7 @@ handle_command(fetch, Opts) ->
Spec0;
File ->
{ok, T} = file:consult(File),
- os:putenv("AGNER_PACKAGE_REPO",proplists:get_value(package_path, Opts, ".")),
+ os:putenv("AGNER_PACKAGE_REPO",proplists:get_value(package_path, Opts, filename:absname("."))),
T
end,

0 comments on commit 274e29d

Please sign in to comment.