Only run pre/post scripts for current directory; thanks to Tim Watson for pointing this out

This commit is contained in:
Dave Smith 2010-07-27 20:27:57 -06:00
parent 448e1ea20b
commit 370d8df02f
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ clean(Config, _) ->
%% ===================================================================
execute_post_script(Config, Key) ->
case rebar_config:get(Config, Key, undefined) of
case rebar_config:get_local(Config, Key, undefined) of
undefined ->
ok;
Script ->

View file

@ -47,7 +47,7 @@ clean(Config, _) ->
%% ===================================================================
execute_pre_script(Config, Key) ->
case rebar_config:get(Config, Key, undefined) of
case rebar_config:get_local(Config, Key, undefined) of
undefined ->
ok;
Script ->