aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/build_polipo.lua
blob: 23fdde379f6330c003525038caa60a96a76498a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env luajit

local dir = ...

if 'nil' == type(dir) then
  local build, err = loadfile('../../build.lua')
  if build then
    setfenv(build, getfenv(2))
    build(2)
  else
    print("ERROR - " .. err)
  end
  dir = workingDir
end

cloneGit('polipo', '.', 'github.com/jech', '')
runCommand(nil, 'polipo', 'make')