Skip to content

Commit

Permalink
Fixed a bug in AGNER_PACKAGE_REPO implementation: by default, it reso…
Browse files Browse the repository at this point in the history
…lves to "." but shoudld be immediately converted to an absolute path to be usable.
  • Loading branch information
yrashk committed Feb 1, 2011
1 parent 3aa55a8 commit 274e29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agner_main.erl
Expand Up @@ -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,

Expand Down

0 comments on commit 274e29d

Please sign in to comment.