Browse Source

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

Dave Smith 14 years ago
parent
commit
370d8df02f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/rebar_post_script.erl
  2. +1
    -1
      src/rebar_pre_script.erl

+ 1
- 1
src/rebar_post_script.erl 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 ->

+ 1
- 1
src/rebar_pre_script.erl 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 ->

Loading…
Cancel
Save