fix bash completion dir

pull/13/head
ruki 6 years ago
parent 9ade0178cc
commit da6064a1a9
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 5
      packages/u/util-linux/xmake.lua

@ -31,7 +31,10 @@ package("util-linux")
end)
on_install("macosx", "linux", function (package)
local configs = {"--disable-dependency-tracking", "--disable-silent-rules", "--without-python"}
local configs = {"--disable-dependency-tracking",
"--disable-silent-rules",
"--without-python",
"--with-bashcompletiondir=" .. package:installdir("share/bash-completion")}
for name, enabled in pairs(package:configs()) do
if not package:extraconf("configs", name, "builtin") then
if enabled then

Loading…
Cancel
Save