~prokop/lua-pebble

1db5b631d3e4ec526355705ce30f83d751a8845f — Prokop Randacek 1 year, 5 months ago ccead10
fix git cwd override
1 files changed, 2 insertions(+), 2 deletions(-)

M pebble.lua
M pebble.lua => pebble.lua +2 -2
@@ 40,8 40,8 @@ end

local function git_clone(dir, url) return run('git clone --quiet --recurse -- "' .. url .. '" "' .. dir .. '"') end
local function git_pull(dir)
	return run('git pull --quiet -- "' .. dir .. '"') and
	    run('git submodule update --init --recursive -- "' .. dir .. '"')
	return run('git -C "' .. dir .. '" pull --quiet') and
	    run('git -C "' .. dir .. '" submodule update --init --recursive')
end
local function curl(url, file) return run('curl --silent --location "' .. url .. '" -o "' .. file .. '"') end
local function lstar(file, dir) return run_stdout('tar -tf "' .. file .. '"') end