Skip to content

Commit

Permalink
forcing /bin/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
subnetmarco committed Apr 24, 2015
1 parent 4c82505 commit ffbae51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ install:
- sudo make install
- sudo make dev

script: "busted -v --coverage spec/"
script: "busted --coverage spec/"

after_success: "luacov-coveralls -i kong"
2 changes: 1 addition & 1 deletion kong/tools/io.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _M.path = path

function _M.os_execute(command)
local n = os.tmpname() -- get a temporary file name to store output
local exit_code = os.execute(command.." > "..n.." 2>&1")
local exit_code = os.execute("/bin/bash -c '"..command.." > "..n.." 2>&1'")
local result = _M.read_file(n)
os.remove(n)

Expand Down

0 comments on commit ffbae51

Please sign in to comment.