Skip to content

Commit

Permalink
[libexec] respect APICAST_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Jan 9, 2018
1 parent 25009f6 commit d3b042d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/apicast/configuration_loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ end
-- For this reason a new process needs to be started to download the configuration through 3scale API
function _M.run_external_command(cmd, cwd)
local config, err, code = util.system(format('cd %s && libexec/%s',
cwd or env.get('TEST_NGINX_APICAST_PATH') or '.',
cwd or env.get('APICAST_DIR') or env.get('TEST_NGINX_APICAST_PATH') or '.',
cmd or 'boot'))

-- Try to read the file in current working directory before changing to the prefix.
Expand Down

0 comments on commit d3b042d

Please sign in to comment.