diff options
-rw-r--r-- | src/rebar_post_script.erl | 2 | ||||
-rw-r--r-- | src/rebar_pre_script.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_post_script.erl b/src/rebar_post_script.erl index f2841d5..04daec7 100644 --- a/src/rebar_post_script.erl +++ b/src/rebar_post_script.erl @@ -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 -> diff --git a/src/rebar_pre_script.erl b/src/rebar_pre_script.erl index 8784529..d2d7205 100644 --- a/src/rebar_pre_script.erl +++ b/src/rebar_pre_script.erl @@ -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 -> |